Mailinglist Archive: opensuse (3280 mails)

< Previous Next >
Re: [opensuse] rsync questions - backups - again !
  • From: Joe Sloan <joe@xxxxxxxxxx>
  • Date: Sat, 08 Dec 2007 11:36:57 -0800
  • Message-id: <475AF259.8060604@xxxxxxxxxx>
Rodney Baker wrote:

rsync --logfile=/var/log/home_backup -Ca /home/<username> /backup/<username>.

This just compares each file in /home/<usersname> with its corresponding file
in /backup/<username> and copies any that are new or have changed, resetting
the archive bit for each file.

Not to nitpick, but actually, rsync is smarter than that - it only
copies the diff between the parts that have changed.

If your data to be backed up consists of 2 10GB files, and you make a
slight change (say 5 few kbytes) to each, rsync wouldn't copy 20 GB, but
rather just the changed 10 kb, plus a bit of overhead.

Joe
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References