Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

up vote 3 down vote accepted

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

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

/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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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