LXC-Web-Panel icon indicating copy to clipboard operation
LXC-Web-Panel copied to clipboard

Backup doesnt work when rootfs have a different location from /var/lib/lxc

Open apinela opened this issue 8 years ago • 2 comments

I use different locations for my containers rootfs, since the code for backup them have hardcoded the rootfs path, this needs some fix: https://github.com/claudyus/LXC-Web-Panel/blob/master/lwp/lxclite/init.py#L259

apinela avatar Feb 23 '17 08:02 apinela

Hi @apinela, I will be happy to merge your improvements as well as add you (or anyone else that is actively using this project) as developer here!

claudyus avatar Feb 24 '17 08:02 claudyus

stock ubuntu 16.04 uses /var/lib/lxd

/var/lib/lxc is empty

ie the panel drops containers at /var/lib/lxc/CONTAINER_NAME mine from command line are placed at /var/lib/lxd/containers/CONTAINER_NAME

ddnut avatar Jul 04 '17 10:07 ddnut