Solved

robocopy options

Posted on 2013-05-21
1
319 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Hi Friends, These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the …
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

777 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