Hi there! I'm running a Proxmox 7.0 server. Unfortunately the disk where I kept my VMs, containers and Proxmox itself on failed. I didn't back up the VMs and LXC. I have only a backup of the Postgres server that was running in the LXC. Though the back up is 3 days old (not that problematic, but I hope to restore all data). I have some other disks on which I can continue, but I'd love to try to get the LXC from my old disk and I do not know if this is possible. I've searched around a lot but didn't find anything.
The failed disk is currently in read-only mode. I have added the volume and can see the VM disks.
I can recreate the VMs without problem. The only thing I'd love to restore is the container. Is there any way I can copy the filesystem or restore the LXC to my new disk and keep the data (assuming that the data is still intact).
The failed disk is currently in read-only mode. I have added the volume and can see the VM disks.
Code:
root@server:~# lvscan
ACTIVE '/dev/Storj/vm-104-disk-0' [<16.37 TiB] inherit
ACTIVE '/dev/pve/swap' [8.00 GiB] inherit
ACTIVE '/dev/pve/root' [96.00 GiB] inherit
ACTIVE '/dev/pve/data' [<3.49 TiB] inherit
ACTIVE '/dev/pve-OLD-7B4D837C/swap' [8.00 GiB] inherit
ACTIVE '/dev/pve-OLD-7B4D837C/root' [96.00 GiB] inherit
ACTIVE '/dev/pve-OLD-7B4D837C/data' [<794.79 GiB] inherit
ACTIVE '/dev/pve-OLD-7B4D837C/vm-106-disk-0' [4.00 MiB] inherit
ACTIVE '/dev/pve-OLD-7B4D837C/vm-106-disk-1' [128.00 GiB] inherit
ACTIVE '/dev/pve-OLD-7B4D837C/vm-104-disk-0' [132.00 GiB] inherit
ACTIVE '/dev/pve-OLD-7B4D837C/vm-101-disk-0' [32.00 GiB] inherit
inactive '/dev/pve-OLD-7B4D837C/base-108-disk-0' [64.00 GiB] inherit
ACTIVE '/dev/pve-OLD-7B4D837C/vm-100-disk-0' [64.00 GiB] inherit
ACTIVE '/dev/pve-OLD-7B4D837C/vm-102-disk-0' [64.00 GiB] inherit
I can recreate the VMs without problem. The only thing I'd love to restore is the container. Is there any way I can copy the filesystem or restore the LXC to my new disk and keep the data (assuming that the data is still intact).
Last edited: