[gentoo-user] How to make a backup of my gentoo installation

2008-12-14 Thread damian
... using rsync. Hello, Finally I got a (less than perfect but) functional gentoo installation and I would like to backup my root directory to an external hard-drive. But I have a doubt regarding the options to be passed to rsync. I think this command should perform what I want: rsync -a

Re: [gentoo-user] How to make a backup of my gentoo installation

2008-12-14 Thread Neil Bothwick
On Sun, 14 Dec 2008 21:24:23 +0100, damian wrote: rsync -a --delete --relative --exclude '/home' / /mnt/wd-backups/ That will also backup virtual filesystems like /proc, /dev and/sys. Add the -x option to avoid this. -- Neil Bothwick I am Barney of Borg: I love you. You love me. We're

Re: [gentoo-user] How to make a backup of my gentoo installation

2008-12-14 Thread damian
On Sun, Dec 14, 2008 at 10:09 PM, Neil Bothwick n...@digimed.co.uk wrote: On Sun, 14 Dec 2008 21:24:23 +0100, damian wrote: rsync -a --delete --relative --exclude '/home' / /mnt/wd-backups/ That will also backup virtual filesystems like /proc, /dev and/sys. Add the -x option to avoid

Re: [gentoo-user] How to make a backup of my gentoo installation

2008-12-14 Thread Neil Bothwick
On Sun, 14 Dec 2008 22:11:28 +0100, damian wrote: That will also backup virtual filesystems like /proc, /dev and/sys. Add the -x option to avoid this. OK, so the command should be rsync -ax --delete --relative --exclude '/home' / /mnt/wd-backups/ ? Yes, unless /home is on a

Re: [gentoo-user] How to make a backup of my gentoo installation

2008-12-14 Thread Thanasis
on 12/14/2008 11:11 PM damian wrote the following: On Sun, Dec 14, 2008 at 10:09 PM, Neil Bothwick n...@digimed.co.uk wrote: On Sun, 14 Dec 2008 21:24:23 +0100, damian wrote: rsync -a --delete --relative --exclude '/home' / /mnt/wd-backups/ That will also backup virtual

Re: [gentoo-user] How to make a backup of my gentoo installation

2008-12-14 Thread Maximilian Bräutigam
Hi Damian, by the way rsnapshot is a more sophisticated tool to back up your root file system. it is based on rsync, but the bright idea behind is that it creates a history (hourly, daily, weekly, monthly) with copying the hole system only one time. Maybe this is what you preferably want. Kind