PDA

View Full Version : How to vzdump without suspension, without downtime



Fli
03-30-2015, 02:26 PM
Hello,

an vzdump software can be used to backup an openVZ virtual private server (VPS)

"man vzdump" shows how to use it

If VPS is huge and one using --suspend or --snapshot mode to VZDUMP, then VPS can be suspended for many minutes. My 160 Gb VPS was suspended at least 15 minutes which is getting unacceptable

Suspension happen in order to do 1:1 files copy.

But if one want to risk some inconsistent files (mysql) one can do just:

# vzdump --compress VMID

(VMID is id of the openvz VPS). The location of the resulting .tgz file is /vz/dump

vzdump without snapshot ot suspend switch helps to reduce OpenVZ VPS downtime / suspension time during VPS backup using vzdump.