Re: [gentoo-user] Backup of remote virtual server

2012-01-13 Thread Neil Bothwick
On Thu, 12 Jan 2012 23:53:00 +0100, Michael Hampicke wrote: > > mount --bind / /mnt/root > > rsync -avx /mnt/root user@remote.server:/backup/ > > True, this takes care of the /dev folder problem, but there's a > downside: if you have for example /var on a different partition, it > won't get bac

Re: [gentoo-user] Backup of remote virtual server

2012-01-12 Thread Michael Hampicke
>> I did the very same recently when reformatting my system partition for >> a new FS. Beware though that after this command you still need to >> create some device files in /dev for udev to work properly, because >> they were excluded. I think it was null and console, but I'm not sure. > > mount

Re: [gentoo-user] Backup of remote virtual server

2012-01-12 Thread Neil Bothwick
On Thu, 12 Jan 2012 16:26:52 +0100, Frank Steinmetzger wrote: > > rsync -av --delete --delete-excluded \ > > --exclude=/dev/ \ > > --exclude=/proc/ \ > > --exclude=/sys/ \ > > --exclude=/tmp/ \ > > --exclude=/usr/portage/ \ > > --exclude=/var/portage/ \ > > --exclude=/v

Re: [gentoo-user] Backup of remote virtual server

2012-01-12 Thread Michael Hampicke
> I did the very same recently when reformatting my system partition for a new > FS. Beware though that after this command you still need to create some device > files in /dev for udev to work properly, because they were excluded. I think > it was null and console, but I'm not sure. You are corre

Re: [gentoo-user] Backup of remote virtual server

2012-01-12 Thread Frank Steinmetzger
On Thu, Jan 12, 2012 at 09:47:57AM +0100, Michael Hampicke wrote: > > I'm curious what you, collective Gentoo-users, may be using to solve > > this problem. rsync, rdiff-backup, rsnapshot, dirvish, bacula, > > tar+ssh...? > > rsync -av --delete --delete-excluded \ > --exclude=/dev/ \ >

Re: [gentoo-user] Backup of remote virtual server

2012-01-12 Thread Michael Hampicke
> I'm curious what you, collective Gentoo-users, may be using to solve > this problem. rsync, rdiff-backup, rsnapshot, dirvish, bacula, > tar+ssh...? rsync -av --delete --delete-excluded \ --exclude=/dev/ \ --exclude=/proc/ \ --exclude=/sys/ \ --exclude=/tmp/ \

Re: [gentoo-user] Backup of remote virtual server

2012-01-11 Thread tlze
On Thu, Jan 12, 2012 at 3:09 PM, Paul Hartman wrote: > Hi, > > I have a remote Gentoo virtual server and want to implement a better > backup/restore plan. There is no physical access to the server, so any > backup must be done over the Internet. Right now I just create the > occasional tarball an

[gentoo-user] Backup of remote virtual server

2012-01-11 Thread Paul Hartman
Hi, I have a remote Gentoo virtual server and want to implement a better backup/restore plan. There is no physical access to the server, so any backup must be done over the Internet. Right now I just create the occasional tarball and download it, and have used tar+ssh to restore, but that's not co