Proxmox backup and restore

To backup a vm and restore in a remote proxmox

1. How to backup

vzdump <vm id>

The backup will be created in /var/lib/vz/dump/ folder.

Note: qm list – will list the VM’s in that proxmox server

2. Restore in remote proxmox

Copy (scp) the backup .vma file to the remote server folder /var/lib/vz/images/.

cd /var/lib/vz/images/

qmrestore <backup-file> <vm-id>  –storage <storage-name>

eg: qmrestore backup-vm.vma 100 –storage datastore1