Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I keep data on a USB drive, but I also keep a copy of all of that data on a hard disk. I like using the hard disk because it's faster and gives me a backup. What standalone tools would work to keep the files on the disk and USB drive in sync? I'd like a single command line executable or standalone GUI app that can do the job--something I could run off of the USB drive. So, things like the MS Sync Tool wouldn't work.

share|improve this question
add comment

6 Answers

up vote 2 down vote accepted

I have used Pathsync before to do basically the same thing and it works well.

share|improve this answer
    
Thanks. That seems to do everything I need. –  Jim Oct 22 '09 at 18:51
add comment

Unison is the tool of choice if you don't mind the sometimes counterintuitive (optional) GUI. It is like rsync in both directions, hence actual synchronization and not only mirroring. Also updates are made in an atomic way (if at all possible) so you are never left with a half-through update of a file.

share|improve this answer
add comment

Synctoy is made by Microsoft and can be batched through command line. The only tricky part is that you have to use the GUI to create a 'sync set' and then refer to the sync set name in your batch script.

share|improve this answer
add comment

Robocopy is by far the best tool I've found. It's even included in newer versions of Windows. It has a whole heap of options, but basically, the following command will make the destination directory an exact copy of the source directory:

robocopy C:\your\source\path D:\your\dest\path /MIR

Note that this not only copies files, but deletes them as well - if a file is not in the source directory it will be deleted from the destination directory, so be careful.

share|improve this answer
add comment

DeltaCopy - Also Rsync for Windows (see binaries Without Installer)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.