Mrmichaelhill Posted May 1, 2013 Posted May 1, 2013 I'm currently running a basic robocopy backup to an external drive. robocopy C:\STUFF\ E:\STUFF1 /e robocopy C:\STUFF2\ E:\STUFF2 /e robocopy C:\STUFF3 E:\STUFF3 /e Now, if something is deleted in the source (C:\) will robocopy delete in the desination by default?? (E:\) Thanks
Valyyn Posted May 2, 2013 Posted May 2, 2013 (edited) It's been a while since I've used it, but I don't think it will delete files that no longer exist in the source unless you use the /PURGE switch. Edit: looking at robocopy /? I think that's right: /PURGE :: delete dest files/dirs that no longer exist in source. But maybe test it on a non-important file first, just in case Edited May 2, 2013 by Valyyn
jinnantonnixx Posted May 2, 2013 Posted May 2, 2013 No, not by default. To delete files in the target, use Purge as Valyn suggests, or the /MIR switch.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now