My media library isn't huge, but it isn't tiny (~50 GB). Every month or so, I just manually copy
~/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"
--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.
--delete so that if I clean up my library locally, it will also clean up the backup.
vv just puts it in verbose mode, because I'm new to
rsync, and I want to know if anything goes wrong.