[Users] Backing up an OpenVZ platform.

tim Doyle tim at quantact.com
Sun Nov 5 14:38:36 EST 2006


If you were to make /vz an LVM volume, you could do a snapshot, and grab 
those contents with NetVault, tar.gz, etc.
LVM will track the differences (i.e writes) between the two, and the 
snapshot is a point in time save of the filesystem.
Normal filesystem activity continues on during the snapshot, so service 
is not interrupted.

We're using LVM to provide snapshot backups for the XEN VE's we host.
For /vz, just make sure your LVM disk pool has enough space left over to 
take the /vz snapshot.
If it runs out, it will likely abort the snap, or have unexpected results.

You may want to run the testing 2.6.16 ovz kernel, as LVM has some bugs 
with older kernel versions.

Cheers!
-Tim



-- 
Timothy Doyle
CEO
Quantact Hosting Solutions, Inc.
tim at quantact.com
http://www.quantact.com



Denis Vervisch wrote:
> Hello all,
>
> I’m looking for a reliable solution for backing up an OpenVz server 
> with third party backup software, like NetVault.
> So, I define a job which save my /vz directory, but NetVault generate 
> a lot of warnings like ‘File ‘xxxxxx’ in flux during backup’.
> Can someone give me the best solution to do a reliable backup of all 
> my virtual servers ?
>
> Thanks for your help,
> Best Regards,
>
> -- 
> VERVISCH Denis
>
> _________________________________________________________________
> Ten : profite de ton Messenger en illimité sur ton mobile ! 
> http://mobile.live.fr/messenger/ten/
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
>


More information about the Users mailing list