backup data when container can't start or backup mode

nzucode

New Member
Dec 22, 2022
5
0
1
Previously I had tried to fix the CT error, it couldn't start, then I tried to back it up but it still didn't work. There seems to be a problem with my hard drive, can I back up /var/www/ in my corrupted ct?
 
Hi,

What is the error you got when you try to start the CT?


Please try to do a pct mount <CT-ID> then the CT should mount in the /var/lib/lxc/CT-ID/rootfs path. and then you can try to copy/backup the /var/www/.
 
Hi,

What is the error you got when you try to start the CT?


Please try to do a pct mount <CT-ID> then the CT should mount in the /var/lib/lxc/CT-ID/rootfs path. and then you can try to copy/backup the /var/www/.

I have error this when i try
pct mount 102 [/QUOTE] mount: /var/lib/lxc/102/rootfs: can't read superblock on /dev/mapper/pve-vm--102--disk--0. mounting container failed command 'mount /dev/dm-6 /var/lib/lxc/102/rootfs//' failed: exit code 32
 

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!