graysky Posted November 29, 2008 Share Posted November 29, 2008 (edited) I'm using robocopy to backup some partitions using the following commandline switches. When the backup finishes, the destination directory gets flagged as a system file such that I have to switch my folder options to "show protected system files" in order to see it. Can someone explain why this is happening and how I can re-flag the dir as a standard dir, not a protected system file?robocopy d:\ H:\drive_D\ /s /mir /xd "d:\games" /dcopy:t /z /r:1 /w:1 Edited November 29, 2008 by graysky Link to comment Share on other sites More sharing options...
Nerwin Posted November 29, 2008 Share Posted November 29, 2008 I never used this program before.Maybe this could help?http://forums.overclockers.co.uk/showthread.php?p=12824596 Link to comment Share on other sites More sharing options...
graysky Posted December 28, 2008 Author Share Posted December 28, 2008 (edited) I never used this program before.Maybe this could help?http://forums.overclockers.co.uk/showthread.php?p=12824596Thanks for that. Guess copying the root of a filesystem is bad news. I just adjusted my batch file to have a single entry for each folder as a result. This way I don't have to mess with setting attribs after the copy.example:rem drobocopy "d:\dir1" "H:\drive_d\dir1" /s /mir /dcopy:t /z /r:1 /w:1robocopy "d:\dir2" "H:\drive_d\dir2" /s /mir /dcopy:t /z /r:1 /w:1robocopy "d:\dir3" "H:\drive_d\dir3" /s /mir /dcopy:t /z /r:1 /w:1The first dir is the sourceThe 2nd dir is where the source is getting backed-up/s is for subdirectories (recursive)/mir is for mirroring which will delete files on the backup end if the source changed since you backed them up - WARNING, read the manual before you use this or else you could LOSE data!/dcopy:t switch keeps the directory's original date/time stamp. Read this wikipedia article for more./z is for resuming (again see the wikipedia article for notes on it)/r:1 /w:1 sets the retry to 1 sec and 1 time (for example if it can't copy an in use file, it'll only cost you 1 sec and 1 try) Edited December 28, 2008 by graysky Link to comment Share on other sites More sharing options...
Nerwin Posted December 28, 2008 Share Posted December 28, 2008 Cool, So must be everything is working fine now Link to comment Share on other sites More sharing options...
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