vzdump --xdelta [message #34629] |
Thu, 22 January 2009 13:33 |
Cash
Messages: 2 Registered: January 2009
|
Junior Member |
|
|
Hi,
I'm trying to draft up a backup policy for a batch of openvz vms I've recently installed. I noticed you have a xdelta option in vzdump, but there is no documentation on how to use it. For instance, I want to setup a full backup on sundays and incremental ones for the rest of the week. If I vzdump first on sunday, I assume every vzdump --xdelta will take that backup as it's basis. How should I go about restoring, say, wednesday's backup? What happens the next time I create a full backup? There's absolutelly no info on the wiki (the option isn't even mentioned) and I can't find anything online either.
Since backups are considered somewhat important by some, I'd really like to know how I can use this feature.
Also, in a somewhat related note, if I set up a proxmox server, do the VMs get. I mean something akin to it's own partition)? Should the backups be done with --snapshot in proxmox?
Thank you in advance for your help.
|
|
|
|
|
|
Re: vzdump --xdelta [message #34667 is a reply to message #34629] |
Sat, 24 January 2009 14:40 |
n00b_admin
Messages: 77 Registered: July 2006 Location: Romania
|
Member |
|
|
I don't have a practical example at hand....
But some time ago i hacked the vzdump tool and used two of them.
One for full backups and another one (the modified one) for differential backups.
My hack consisted in modifying the rsync command line to do differential backups against the full one.
I ran a cronjob at the end of the week which provided a directory with the full backup, rsync against actual data and the previous week's backup.
Hourly i ran the second vzdump tool that performed differential backups against actual data and the full backup.
In this way the backup operation was secure and also very low resource consuming since i actually made only differential backups constantly.
Restoring the data consisted in obtaining the original data from the full backup and overwriting the differential backup.
Hope this helps.
|
|
|