Articles in this section

How to manually backup/restore OpenVZ container?

Applicable to:

  • SolusVM

Question

How to manually backup/restore OpenVZ container?

Answer

 

Created with legacy template: Created with EZ template:

Backup:

Connect to the source server over SSH.
Create an archive of the VPS: 

# vzdump --compress --dumpdir /home/backup VMID

 - compress : It will compress the dump file (results in a .tgz). 
-dumpdir specifies the directory in which the dump should be stored. If a dumpdir is not specified, the dump is stored in /vz/dump by default."
- VMID of VPS can be found in SolusVM Virtual Servers tab

 

Restore:

Restore the archive:

# vzdump --restore /home/backup/vzdump-VMID.tgz VMID

 

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.