Recover a file from an LXC container that won't start

johnha

Well-Known Member
Jan 1, 2018
36
6
48
One of my debian containers refuses to start .. it may be related to the fact that I lost one of my proxmox server's drives (that kept CT and VM backups and LXC templates...)
anyway, the container won't start. I ran lxc-start -n 100 -F -l DEBUG -o /tmp/lxc-100.log and it gave me this output:
Bash:
lxc-start: 100: conf.c: run_buffer: 335 Script exited with status 1
lxc-start: 100: start.c: lxc_init: 861 Failed to run lxc.hook.pre-start for container "100"
lxc-start: 100: start.c: __lxc_start: 1944 Failed to initialize container "100"
lxc-start: 100: tools/lxc_start.c: main: 330 The container failed to start
lxc-start: 100: tools/lxc_start.c: main: 336 Additional information can be obtained by setting the --logfile and --logpriority options

I'm just wondering if there's any way to get inside the container to retrieve a couple files (oops didn't back them up, d'oh!).
 

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!