• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 342
  • Last Modified:

robocopy options

I'm wondering what options I would use on robocopy, but I don't want the destination file to be deleted on the target if it was deleted on the source.  This is what happens when I currently use /mir

So basically back up a drive but never delete files on the target.
0
hrolsons
Asked:
hrolsons
1 Solution
 
rjanowskyCommented:
Don't use the option /mir in that case. The target directory will hold ALL the files copies from all the robocopy runs and will never be synchronized (no files at the target side will be deleted). Basically that means do a robocopy with all the normal parameters, but never use /mir like this one:

robocopy \\server-a\source \\server-b\destination /e /r:1 /w:1 /copy:dats /log:file.log

For a complete list use robocopy /?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now