Backup and attached device


I have a container with an attached device:

sudo lxc config device add repos myshare disk source=/mypool/photo-repo path=/data

if I do a lxc image export , will that include the data as well?

I only need the container without the data so I can image import next time if I have to reconfigure the container,


When generating an image, LXD only includes what’s part of the container storage volume, not attached external volumes.

cool, that’s exactly what I need