RE: [vserver] how to backup / migrate a vserver?

From: Allen Unrau <allen.unrau_at_sjrb.ca>
Date: Tue 23 Oct 2007 - 16:19:36 BST
Message-id: <B4EA36D3437761448FA9C3252FCC712417A64EA0@PRDCG4EXVW01-1.OSS.PRD>

That was quick - thanks a lot.
I don't have a /vservers directory, but I'm using the Debian packages.
It looks like the package maintainers moved it to /var/run/vservers.

Thanks again.

-----Original Message-----
From: Oliver Welter [mailto:mail@oliwel.de]
Sent: Tuesday, October 23, 2007 9:07 AM
To: vserver@list.linux-vserver.org
Subject: Re: [vserver] how to backup / migrate a vserver?

Hi Allen

> I'm looking into using vservers in order to do server replication and
> failover. I have a couple of questions that I couldn't find in the
> online docs:
>
> 1. How to do a complete backup up of a vserver from the host? Is it
> just a matter of backing up the /etc/vservers/<vservername>
> directory?
> 2. How to migrate a vserver to another host? Just copy
> /etc/vservers/<vservername> to the new host?

This is the config data, in addition you need the stuff under
/vservers/, but thats all. When copying a running server keep in mind
that there might be open files and unflushed memory. I personally use
drbd to replicate the data in /vservers in real-time which works like a
charm

> 3. Are the list archives searchable? It would make answering
> questions like this a bit easier.
There is an archive at http://www.paul.sladen.org/vserver/archives/ and
you might search it using google - I am not aware of any other solution

Oliver

-- 
Protect your environment -  close windows and adopt a penguin!
PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF  8168 CAB7 B0DD 3985 1721
Received on Tue Oct 23 16:18:39 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 23 Oct 2007 - 16:18:46 BST by hypermail 2.1.8