Skip to content

Manual backup/restore of OpenVZ VPS

Backup

1. Connect to the source server over SSH.

2. 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

1. Restore the archive:

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

where VMID is a corresponding VM ID.

2. Import VPS if required: Importing OpenVZ containers