Best practice for restoration

dpayet

Member
Jun 19, 2019
11
0
21
42
Hello,

perhaps this question have been already posted, sorry ... :)

I have 3 PVE servers and I think to install a PBS. How can i restore a VM if a PVE is complety dead ? If I have to reinstall from scratch a new server, how easily reimport my VMs in the new PVE ?

I have see several possibilities in the doc, but nothing (I guess) for restoring an entire VM in a new server.

Thanks in advance :)
 
hi,

if you have the backup archives of the VMs/containers, you can easily restore them using the pct or qm tool:
Code:
pct restore <vmid> <ostemplate>
pct restore 123 vzdump-lxc-135-2021_02_08-11_29_36.tar.zst

same syntax with qm.

hope this helps
 
Thanks for you answer !

With these files, same idea ?

root@backups:/backups/vm/204/2021-04-27T08:13:07Z# ls
client.log.blob drive-scsi0.img.fidx fw.conf.blob index.json.blob qemu-server.conf.blob


Thanks :)
 
hi,

with PBS backups, you can restore them by adding your PBS server to your PVE instance as a storage.
you can also use proxmox-backup-client restore