Tag Archives: Robocopy

This is a script I have used on several of my relatives computers for backing up their data. Windows backup won’t do for them because they feel the need to see the actual files on the external drive… Anyway, heres my script: robocopy c:users<username> <destination> /MIR /XD templates start-menu “local settings” appdata “internal video” cookies “my music” “my pictures” “my documents” printers programdata recent sendto andrmask /XF ntuser.dat ntuser.dat.log1 ntuser.dat.log2 /R:5 /LOG:<log destination> I guess a little explanation is required. The first part, robocopy c:users<username> <destination> tells robocopy what to copy where. /MIR indicates that robocopy should mirror the source to the destination. This means that if you delete a file in the source, it is also deleted at destination. Use with caution as Microsoft would say /XD tells robocopy what folders to skip. This is because robocopy won’t get access to those folders. They don’t contain useful data anyway.…

Read more

1/1