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....



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

  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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