Re: [Vserver] Back at copying / migrating vserver.

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Thu 15 Dec 2005 - 17:02:57 GMT
Message-ID: <20051215170257.GA7844@MAIL.13thfloor.at>

On Thu, Dec 15, 2005 at 05:57:43PM +0100, Lars Hallberg wrote:
> After some interuption I'm back att writing a script to copy / migrate
> VServers.
>
> 1) One consern. If a VServer is unified, and I copy over it with rsynk
> in the host context. Will links be properly broken or do I risk to mess
> upp other servers?

should work as long as you do not copy across guests
(in which case it might be necessary to tell rsync
to ignore hard links)

> 2) Diskspace limits is good, so suport for Xid tagging vould be good.
> But I don't realy vant to copy the Xid tagging. I want to use the
> targets Xid, whatever it is (or no taging if the target dont use it). My
> plan A is:
>
> Start a rsynk server on the target host, runing in the target VServers
> Xid context - so any files written will be with the 'right' tagging.
> Whithout starting the actual VServer. Is this possable?

yes, sounds reasonable .. as all newer guests are
supposed to use static xids, it should be simple to
do something with chcontext on the receiving end
(which will automatically tag the files properly)

another alternative would be to copy over the files,
then re-unify on the destination and tag the non
unified files properly with chxid ...

HTH,
Herbert

> TIA /LaH
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Dec 15 17:03:15 2005

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 15 Dec 2005 - 17:03:19 GMT by hypermail 2.1.8