My new favourite tool for doing backups is Robocopy. A little microsoft utility, previously in the Microsoft Resource Kits, but now “standard issue” in Vista and Windows 7.
Even for my mainly XP based work, Robocopy is a great advance over using the xcopy command with /d flag – which only copied newer files and could easily fall over with files in use.
The basic syntax I use is as follows
ROBOCOPY “Source Folder” “Destination Folder” /MIR /R:5 /W:5 /FFT
The flags I’m using:
/MIR – mirror the source to directory – will delete files in the destination that are no longer in the source (the main benefit over xcopy)
/R:5 – retry 5 times on error, the default is 1 million, which effectively halts your command unless you are very patient!
/W:5 -wait 5 seconds on error – default if 30 seconds, I find a shorter time better
/FFT – uses Fat File Times – only compares file time to accuracy of 2seconds as used on FAT file system, needed if you’re copying to an external drive formatted as such. Also found works more accurately if copying from / to a Samba/Linux server with this flag.
Comments by
The Best Christmas Tape in the World…Ever (52 of the best Bloopers, spoofs and funny bits)
This was a great montage. I'm still a PAMS ...
Using current drive letter in batch script on a usb drive which changes drives letters
few issues: 1) do not rely on th btch file ...
Podcasts and the back catalogue problem
[…] I’ve been listening to podcasts for more than a ...
In the beginning there was nothing … the radio revolution grows up
Hi Phil, yes the T&T report was indeed me, my ...
About
[…] About […]