Solved

robocopy options

Posted on 2013-05-21
1
324 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

749 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