LXC export --compression=lzma not working

Hi on two server I have the same problem when i use lzma for compression in lxc export

lxc export two two.tar.lzma --instance-only --compression=lzma

Error: Create backup: exec: “lzma”: executable file not found in $PATH

lzma is on the system.
lzma
lzma: Compressed data cannot be written to a terminal
lzma: Try `lzma --help’ for more information.

Here is the path
/usr/bin/lzma
/usr/bin/lzmainfo
/usr/bin/unlzma

I’ve now added the missing lzma -> xz symlink in the snap, so that should work now.

1 Like

Tanks alot

It now work very well !