Restore entire host from PBS... I accidentally nuked my homelab

ligistx

New Member
Mar 24, 2023
7
1
3
Hi...

I am in a bit of a hard spot and before I get myself into a harder spot, I figure I should make some posts and make sure I move forward correctly.

Slight backstory, I attempted to move my proxmox host from a single disk to a RAID1 ZFS array, I attempted to do this via creating a node with the new boot media, migrate VM's over, move ZFS boot media to the homelab hardware... TLDR; this went sideways on me. I could potentially spend some time to get that fixed, but realistically, lets assume this is a no go.

I can somewhat easily get proxmox installed fresh once again, and all of my VM's were backed up (to my virtual truenas box...) via PBS. I have a backup config of truenas so I can download truenas, spin up a VM, and get truenas back up relatively quickly.

The next step is what I have never done, and want to make sure I fully understand before I go down this path... I will need to spin up a new PBS VM, point it to my NFS share with all the saved VM's on it, and.... then what? Will it automatically recognize there is backup data there? I have my backups encrypted, if that matters (I do have the password).

How do I go about installing PBS and getting it to recognize my backups so I can restore them? Hopefully the backups are not tied to the PBS client itself, that would be rather catastrophic.
 
and.... then what? Will it automatically recognize there is backup data there? I have my backups encrypted, if that matters (I do have the password).
No, there is no auto detection nor a datastore import function. You will have to edit your /etc/proxmox-backup/datastore.cfg and add a new datastore pointing to the mountpoint of your NFS share. But not sure how to handle the encryption. But as client-side encryption is used you probably need to import that encryption key on your PVE when adding a PBS storage there.
 
No, there is no auto detection nor a datastore import function. You will have to edit your /etc/proxmox-backup/datastore.cfg and add a new datastore pointing to the mountpoint of your NFS share. But not sure how to handle the encryption. But as client-side encryption is used you probably need to import that encryption key on your PVE when adding a PBS storage there.
Thankfully I just finished getting the “failed” ssd back into the cluster and got everything migrated back… but I do need to figure this out for the future.

I will try and figure out how to load a backup from a different PBS host. If I can figure this out, this would be the way to go about this in the future I think.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!