PDA

View Full Version : How to install OpenVZ VZDUMP



Fli
11-03-2014, 12:28 AM
How to isntall OpenVZ backup/restore system?


vi /etc/yum.repos.d/solusvm.repo

add into:

[soluslabs]
name=Soluslab Repo
#baseurl=http://repo.soluslabs.com/centos/$releasever/os/$basearch
mirrorlist=http://repo.soluslabs.com/centos/mirrors-soluslabs
gpgcheck=0
enabled=1

save and install vzdump via yum:

yum install vzdump

how to use vzdump:

man vzdump

Example backup VM:

vzdump --compress --dumpdir /home/backup --suspend 110

Example restore:

vzdump --restore /home/backup/vzdump-110.tgz 110