openvz, vzdump question

Hi Scott,

I was wondering if there is a way to do Incremental backup of OpenVZ containers. The only tool I am aware of is vzdump.
However, the vzdump tool does not support delta backups.
Are you aware of any toll that will provide full and differential backups?
Regards


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Scott Dowdle's picture

Backup tools I use

You can treat OpenVZ containers just like you would a physical host... with regards to backups... except if you have root access to the host node, you have access to everything while the container isn't running.

The tool I use for backups is primarily rsync. If you want a history, rdiff-backup is a good tool. Basically both do incremental backups in that they only have to transfer the files that have changed... as well as only the changed pieces on those files that have changed. rdiff-backup gives you some history though so you can have multiple versions of individual files, see what versions are available, and restore any version you want.

I recommend stopping containers when backing them up. You can do an initial rsync while the container continues to run and when complete, stop the container and do a much quicker, second rsync.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.