Table des matières

Difficulté
Difficile
Restoring a Proxmox from its snapshots (zfs file system)

Old stuff not working any more!!
See https://forum.proxmox.com/threads/proxmox-virtual-environment-backup-und-recovery-mit-proxmox-backup-server.89207/#post-406609 for another method

Source: https://www.youtube.com/watch?v=6ayd2NHkBXk&t=931s :-X

Configuration:

Proxmox5, running only 2 mirrored SSDs à 240Go (pool zfs RAID1).
In this case Proxox runs on dataset rpool/ROOT/pve-1 and the VMs are on datasets rpool/data/VM#######.
Restoring the Proxmox is restoring “pve-1” and restoring the VMs.

Preparing tasks:

Restore:

Starting point:

The Proxmox OS and the VMs can be restored independently from each other.
As the restoring is made from a usb device containing the snapshots, I think that the easier way is to restore only the OS in a first time and the VMs in a second time after the system is running again. In this case a simple usb stick is sufficient.

Step 1:

Getting the snapshot of rpool/ROOT/pve-1 on the usb stick:

Step 2

the keyboard has the US layout!

Step 3:

Step 4:

I had some minor issues at the reboot:

After the OS runs:

# update-grub2

and reboot to solve the error messages at boot up.

Restoring the VMs

Restore the disks of the VMs:
From the FreeNAS:

# zfs send -pv pool/backup/Proxmox/rpool/data/vm-100-disk-0@complete | ssh root@proxmox.domain.tld zfs recv rpool/data/vm-100-disk-0 

and so on…

DokuWiki Appliance - Powered by TurnKey Linux