Hello, i need help to recover my container. Currently my old server can no longer boot to the ubuntu server. So this is what I’m currently doing
I created a new server, with the same version of ubuntu server (18.04) and also running the same LXD (LXD 3.0.3)
I mounted the hard drive from the old server to the new server, and I can see all the files are still there
On the old server, I have several instances, but here I want to focus on one with the name “spada”
On the new server I have created an instance with the same name, namely spada
My question is, how can I move the spada instance on the old server to the new server? because it is no longer possible for me to do the lxd export command.
If you can still get access to the server, you can re-install (purge and install) lxd, however, ensure you have a backup of the old server in place, once you have reinstalled lxd, then you can try using the lxd export command.
If that doesn’t work, post the error the lxd export command is reporting, as a last resort, you can copy your lxd content from /var/snap/lxd/common/lxd/or /var/lib/lxd/ if you are not using snap to the new server, install lxd and see if that works.