Recover Container from failed Server

dukeap

New Member
Nov 17, 2023
1
0
1
Good Morning,

i'm triing to recover a failed server with pve installed.
PVE version 8.2.2
PVE si installed in a ZFS Mirror
I've prepared a new pve installation (same version 8.2.2) and correctly mount the zfs pool (rpool).
I've recovered a virtual machine with windows installed but i have a problem recovering linux container.
I cannot find the configuration file and the root folder in general.
I've tried mounting /rpool/ROOT/pve-1 in a different folder there is no file inside /etc/pve
I found the subvol-102-disk-0 and the other container files but i don't know how to recover them...
Anyone can help me please ?

Thank You
 
Do I understand you correctly, you want to restore VMs and CTs from a failed single node? But you don't have a backup on a Proxmox backup server or a vzdump on a NAS storage?

You want to restore everything from a mounted ZFS Rpool, but can't find the VM/CT configs?
You can use SQLITE to display things from the unmounted pmxcfs.

Code:
sqlite3  /var/lib/pve-cluster/config.db #user your path from mounted old zfs rpool
select * from tree;
 
Last edited:

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!