Hi there, I started managing a server which runs Ubuntu 16.04 with LXD 2.0.11. There are snapshots being taken daily on this machine, and those are copied to a backup server. Before we upgrade LXD and Ubuntu on it, I would really like to make sure that I can recover the containers I have there. I’ve copied all the files belonging to one container to a similar machine, first mounting the right folder in ZFS (the folder is /var/lib/lxd/containers/testserver.zfs/, as that seems to be the location the datasets in this version of LXD), then copying all the files to that folder (anything to think about when it comes to the owner of rootfs?)
I have also created a symlink to the new testserver.zfs/-folder in /var/lib/lxd/containers/.
When I finally run lxd import testserver
, I just get the following error:
error: Unknown arguments
I tried to find documentation about LXD’s earlier versions online, but to no avail. I really want to make sure I can restore these containers (which do not contain the backup.yaml file) before I upgrade LXD.
Any assistance would be appreciated!