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
 

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!