[Cialug] Backups with rsync
Jonathan Bailey
cialug@cialug.org
Sat, 19 Feb 2005 20:21:08 -0600
I'm currently using rsync to do a backup every night. I'd like to do
incremental backups, just storing the changed files every backup cycle.
I'm thinking of a full backup on Sunday, and incremental every other day
of the week. I know you can use --link-dest with rsync, but I don't want
all the hard links. How can I make it back up only the changed files
(and structure)?
Here's what I'm using now:
DATESTAMP='2005-02-19' // always current date
rsync -av --exclude-from=rs.exclude /home/ /backup/backup-$DATESTAMP/ >
/backup/backup-$DATESTAMP.log
Jon