Subject: Re: [vserver] [Q] HOWTO copy /etc/vserver
From: "Roderick A. Anderson" <raanders@acm.org>
Date: Thu, 15 Jan 2009 12:46:56 -0800

John Alberts wrote:
> Rod,
> 
> It shouldn't follow the symlinks.  Just use 'tar -cjf vserver.tar.bz2
> /etc/vservers/'
> This should preserve the symlinks when you extract using 'tar -xvjf
> vserver.tar.bz2'
> 

Thanks John.  Since it shouldn't do any damage I'll test it on a _good_ 
system.


Rod
-- 
> John
> 
> 
> On Thu, Jan 15, 2009 at 12:43 PM, Roderick A. Anderson <raanders@acm.org> wrote:
>> I have an odd (hardware-wise) system this is giving me problems.
>>
>> The main OS is on an IDE drive and /vservers is on a LVM built of SATA
>> drives.
>>
>> The IDE drive is having some problems.  I'm going to replace it.
>>
>> Most of the guests (the important ones anyway) are still accessible via ssh
>> but the host isn't.  I will have to go to the colo to access the host.
>>
>> What I'd like to do is make a copy of the /etc/vservers directory, possibly
>> while the guests are running.  Since there several links created when a
>> guest is started I have concerns about just doing a tarball of the
>> directory.
>>
>> Any suggestions, thoughts, or ideas on this?
>>
>>
>> Thanks,
>> Rod
>> --
>>
> 
> 
>