Solved

robocopy options

Posted on 2013-05-21
1
322 Views
Last Modified: 2013-05-22
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
Comment
Question by:hrolsons
1 Comment
 
LVL 10

Accepted Solution

by:
rjanowsky earned 500 total points
ID: 39186435
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question