On Mon, 2005-01-24 at 17:13 +0000, Mal Herring wrote:
> Hi Gentoo-User,
> I'm looking to use rsnapshot to perform a FULL backup on a daily basis
> of a production server to another server off-site.
> 
> My question is - Do I understand that rsnapshot can be used for this
> task ?  And which directory's should I backup - I am not 100% sure which
> are must have's and which are not.
> 
> Thanks in advance.

I don't use rsnapshot, but I do use rsync in my own little scripts to do
the same things.

The important thing is the -a and -D flags. -a is a series of useful
flags, as seen in the man page. And -D handles device files properly, so
it really is safe to back up /dev . Having /dev backed up is nice in the
case you need to restore, and learn the hard way not having /dev/console
and /dev/null at the minimum at boot means you can't boot.

You could exlude /proc and /sys , but really it doesn't make much of a
difference.

Be sure to include /boot , and note that you might have that as a
seperate partition, and not automatically mounted at boot. So be sure
it's mounted at backup time, then umount it afterwards.





--
[email protected] mailing list

Reply via email to