Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
apinela opened this issue Feb 23, 2017 · 2 comments
Open

Comments

@apinela
Copy link

apinela commented Feb 23, 2017

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

@claudyus
Copy link
Owner

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!

@ddnut
Copy link

ddnut commented Jul 4, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants