My media library isn't huge, but it isn't tiny (~50 GB). Every month or so, I just manually copy ~/Music, ~/Pictures, and ~/Videos to my EHD, and delete the old backup. But this is far from ideal. It's pretty slow, for one thing (~50 GB all together). It also isn't versioned, so if I ever want to go back multiple versions, I'm out of luck.
Is there any simple, stable, incremental way to do this? I'm open to using traditional version control systems like Git for it, although I haven't used them before for anything other than code. Command-line is fine (especially if it's scriptable). I only need to back up these 3 folders--anything that's not media is stored in my Dropbox. Any ideas?
Edit: Here is the script I ended up using (thanks Mistiry):
#!/bin/sh
rsync --delete --size-only -ravv /home/matthew/Music "/media/My Passport/backup/Music"
rsync --delete --size-only -ravv /home/matthew/Pictures "/media/My Passport/backup/Pictures"
rsync --delete --size-only -ravv /home/matthew/Videos "/media/My Passport/backup/Videos"
I found --progress wasn't particularly useful, since my music is organized by albums, and each album is only around ~100mb. If it is possible to show progress for the entire rsync operation, that would be much more useful.
I used --delete so that if I clean up my library locally, it will also clean up the backup.
The vv just puts it in verbose mode, because I'm new to rsync, and I want to know if anything goes wrong.
z. I'm ok with the risk of using--deleteif it simplifies my backup process. I'm backing up for "what if my hard drive fails?" I'm not worried about "what if I screw things up locally?".--link-destseems promising, although I'll have to read up on hardlinks to make sure I understand what I'm doing. – Matthew Aug 19 '10 at 20:53-aoption includes-r, so you could use simply-avvinstead of-ravv. – garyjohn Aug 20 '10 at 11:29