Solved

robocopy options

Posted on 2013-05-21
1
315 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I found out last night windows update has a problem regarding 4 latest updates that fail.  The way to get all 4 them installed is install sp1 first and restart then one by one with a resart in between as they fail every time if all the four updates …
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…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

707 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now