Friday, December 12, 2008

Picture Backups

Just wanted to mark down my backup command... I also throw SSH in there sometimes to backup to a remote machine:

(cd /cygdrive/c/my_backup ; tar czf - Pictures_Backup) | gpg -o - -c - | split -b 512M - backup_

I noticed the flavor of "split" varied between cygwin and RHEL.

UPDATE:

A couple of new notes:

tar cvzf - DirToBackup | gpg -o - -c - | ssh me@some-server 'cd /backups/backupdir ; cat | split -b 512m - date_tar_gz_'

Then, use the following to produce "differential" backups:
tar cvzf - --newer "YYYY-MM-DD" DirToBackup | blah blah blah


(note to self: one canine pound)