Backup and restore host settings to speed up recovery from adding host to a cluster.

captain118

Renowned Member
Jun 20, 2017
16
3
68
43
I did something dumb. I created a virtual proxmox host running on my host then used it to make a 2 node cluster. I know dumb for multiple reasons. But thats why its done in a lab. But now I need to delete the cluster. The guidance is to wipe and reload. What is the easiest way to backup the proxmox configs minus the cluster so its quicker to reconfigure it. I ask because other than the cluster I have a pretty good setup. AD, MSCA, MS issuing cert, SCAP, test clients, multiple vlans, multiple data stores of different types, windows and linux templates, API users, pbs setup, no containers, no ovs and obviously no ceph.

For network I backup the
/etc/network/interfaces

It seems like most of everything else is in /etc/pve, but that includes the cluster config files.

Honestly it looks like I could almost just stop all the services edit the corosync.cfg, remove the vm folder from the nodes if it werent for the rrdcached database.

If the answer is there is no easy button I understand but I thought it was worth the asking.
 
Hi captain118,

As you wrote, you can back up the /etc/pve folder and then try to copy these files one by one to see what they store. You can often recognize the function of many of them by their name. However, I don't recommend doing this, as you could break the configuration. I'm afraid this test would also take more time than reconfiguring it from scratch.

You can found may information about configuration files and backup/restore f.e. in this thread: https://forum.proxmox.com/threads/how-to-backup-proxmox-configuration-files.67789/

R.