I am currently having problems exporting containers into squashfs images. I would prefer using squashfs as it should be quite effective when it also includes container snapshots. Here is a screenshot of the error including container and lxd version info.
Sorry for not attaching the screenshot - it is now attached.
Hmm, I do not seem to get any replies regarding this post. I will try to formulate it differently:
Has anybody successfully used squashfs to export an LXC container?
Quinn
stgraber@dakara:~$ lxc launch images:alpine/edge a1
Creating a1
Starting a1
stgraber@dakara:~$ lxc export a1 --compression squashfs
Backup exported successfully!
stgraber@dakara:~$ file backup.tar.gz
backup.tar.gz: Squashfs filesystem, little endian, version 4.0, xz compressed, 3308656 bytes, 822 inodes, blocksize: 131072 bytes, created: Thu Jan 1 00:00:00 1970
Thanks for testing!
For some reason it is working now - very strange that it didn’t work before - I tried the exact same command line before.
Kudos!