Monday, June 14, 2010

Backup Rev.55

Backup is a small Java application that performs a oneway synchronization from one directory to another.

E.g. I have all my data on partition D on my notebook (source) and I want to back it up to a certain folder on an attached external USB harddisk (destination). The program takes a look at each and every file/dir in the source folder. If the same file/dir exists at the destination with the exact same modified date and the exact same size, nothing happens at all. Otherwise, the source file/dir gets copied to the destination. At the destination, not only the files but also the directories receive the same modified date as their originals. The source has priority, meaning that a source file will get copied even if the same file exists at the destination and has a newer modified date. Items that exist only at the destination will be deleted.

To the same effect, I could just manually delete my destination directory and then copy everything to it again, but that takes too long. At the time of this writing, the first backup of my roughly 44′000 files (~12GB) took about 30 minutes. The second run immediately afterwards (no changes in the source) took 5 minutes. For very large files the transfer rate to my Maxtor OneTouch III mini (USB 2) reached 18 MB/second.

Get Backup Rev.55 [>>]

Related articles: