On Wed, 29 Jun 2005 16:43:44 +0800, Ow Mun Heng wrote:

> > Unlike rsync, it allows you to easily roll back to an older version of
> > file. Very useful when you realise you have screwed your configs just
> > after a backup run.
> 
> BTW, librsync = rsync protocol/algo? Same thing?
> 
> Please explain the roll back. it should be the same as with rsync No?

No. rdiff-backup keeps a a backup plus diffs. You can roll back as
far as you want just by specifying the age.

rdiff-backup --restore-as-of 1D12h /backup/path/to/file

will restore file to the version you used 36 hours ago.

It is much easier and more flexible than plain rsync, especially if you
set it to backup important directories via cron. I have it backup /etc
every hour, so even if I did use etc-update -5, I would find it hard to
completely screw things up :)

Check out the rdiff-backup web site, it gives several examples of how it
can be used - http://www.nongnu.org/rdiff-backup/ 


-- 
Neil Bothwick

As of next week, passwords will be entered in Morse code.

Attachment: pgpcii1f0a0VM.pgp
Description: PGP signature

Reply via email to