Proxmox installation on debian jessie

1. Add proxmox ve repository

echo "deb jessie pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list

2. Add proxmox key

wget -O- "" | apt-key add -

3. Update system

apt update && apt dist-upgrade

4. Install proxmox-ve

apt-get install proxmox-ve ssh postfix ksm-control-daemon open-iscsi systemd-sysv

5. Connect to the proxmox admin web interface



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