PDA

View Full Version : Ways to backup OpenVZ server VMs



Fli
05-02-2014, 09:36 PM
What are the way we can backup VMs on the OpenVZ host server?


Here my ideas:

1) One is VZDUMP (http://internetlifeforum.com/virtualisation/716-how-backup-restore-all-hypervm-openvz-vms-virtual-machines-vpss/)

2) Second is vzmigrate (http://openvz.org/Man/vzmigrate.8) using option -remove-area no and making sure after migration (its actually not transfered away, just coppied in case "-remove-area no" is used) - more about vzmigrate here (http://internetlifeforum.com/virtualisation/728-how-backup-hypervm-openvz-vps-node/). Lookup "Then start migrating" on that page

3) Third is rsync (http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html) and doing it with /vz/private/CTID folder (im unsure if rsync canot corrupt running mysql). rsync is used in vzdump (option 1)

4) Use control panel like Proxmox, HyperVM, SolusVM which may ofer some auto backup functionality based on vzdump above.