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 you want to store the dump. If you don't specify a dumpdir, it stores in /vz/dump
- VMID of VPS can be found in SolusVM > Virtual Servers.
Restore
Restore the archive:
# vzdump --restore /home/backup/vzdump-VMID.tgz VMID
where VMID is a corresponding VM ID.
- Import VPS if required: Importing OpenVZ containers