Best practice for PVE cluster backup/restore

oviano

New Member
Oct 8, 2023
19
1
3
I have a cluster with 4 x nodes using 13th Gen Intel NUC hardware, and then using the NAS for backups. I'm using the basic backup functionality to dump my VMs onto the NAS drive overnight, and then these are uploaded to cloud storage.

It is all working nicely, I'm very pleased with it. Kudos to the developers for this excellent software.

My only nagging doubt is what would I do if I had some sort of failure of the cluster? I understand if I have a least one working node of the four, then I could in theory re-install the other three and join them back to the cluster. Then I could restore the VMs from the NAS backups.

But if something went wrong which meant the cluster was corrupt, or failed in some way, at the moment I suppose I'd have to manually rebuild it all, node by node? I'd have to reconfigure the NAS storage, and various other bits and bobs so I'm wondering about how I can back things up so this would be trivial?

I found these nice community scripts: https://community-scripts.github.io/ProxmoxVE/scripts?id=host-backup

Which appears to backup the /etc/ and /var/lib/pve-cluster amongst others, is that all I need? How would I then restore, just setup a default PVE node and then copy these folders back over or something?