i am using robocopy to take backup from one folder with following syntax

      robocopy "source" "destination" /mir

but the issue i am facing is if file is in destination but not in source, its deleted automatically from destination but i dont need this,

i need only copy from source to destination....

Thanks

link|improve this question

62% accept rate
feedback

2 Answers

up vote 2 down vote accepted

If you only want to copy from point a to point b, you don't need to use /mir at all.

link|improve this answer
Instead add /s or /e to copy subfolders. – afrazier Jun 24 '10 at 20:56
feedback

/MIR will process deletes and make your destination look exactly like the source. If you want to just copy new files and not care about having a matching destination, just use Robocopy /E

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.