Pve file lost, need help rebuilding

anthony

Member
Jun 20, 2018
30
1
11
28
So we had a power outage (perfect storm.. Battery backup failed, generator didn't kick on when it was supposed to etc) which somehow either corrupted or otherwise wiped the /etc/pve folder. It looks like we still have all our vm data, but none of the config files. What is the best way to go about rebuilding this? We would like to recover this node temporarily to transfer everything off it to get critical infrastructure back up and running (previous guy didn't set up proper fail over or backups.. In the works...) I believe if I get the config files for each vm is be pretty close to getting back up and running. Thanks in advance.

Ps this is on a ZFS system
 
Last edited:
What is the output of:

# ls -l /var/lib/pve-cluster/config.db

Note: This is the database where the configs are stored.

And what is the output of:

# systemctl status pve-cluster.service