[Users] File-tree CT backup
Marc Olive
marc.olive at grupblau.com
Fri Apr 30 02:51:42 EDT 2010
El Thursday 29 April 2010 15:08:44 Martin Dobrev va escriure:
> Hi
Many thanks for the complete answer.
> > ]$ backup /var/lib/vz/private/$CID (¿vz/root/$CID?)
>
> There is no need to backup files from the private folder, if you already
> chkpnt-ed the VE
Ok, I only need to backup root folder.
> > In case my server was completly lost, will I have enought information to
> > restore the CT? how should I restore them? Maybe with a process similar
> > as when I create them from a template?
>
> If you backup the dumpfiles from the containers, you can vzctl restore
> the VE in case of a server failure (data loss).
Hmm... I will check and test, I do not get cleary how to get back the
containers.
Is this correct: supose I have backuped vz/root/$CID and /etc/vz/$CID.conf and
the CT0 server is stolen. I get a new hardware computer and I have a fresh
Linux instalation from scratch. To restore a CT I only need to place the
backup files (vz/root/$CIT and /etc/vz/$CID) to it's directory on the new
server? Or I should do something else or similar to "vzctl create"?
There's no need to restore the CT session with the dumpfile, a halt and boot
it's acceptable.
> > Any other tip or advise besides to test the whole process?
> >
> > Thanks,
>
> Best regards,
> Martin Dobrev
Bests,
> Chief System Administrator
> Amotera BG Ltd.
>
> Sofia, Bulgaria
--
Marc Olivé
Grup Blau
www.grupblau.com
More information about the Users
mailing list