Is lxd-to-incus reversible?

I after testing on my home servers I plan to use lxd-to-incus to move my public facing (colocated) lxd server to incus. If I snapshot my storage pools can I roll this back?

Never Mind. It worked brilliantly.

On the other hand. I think being able to reverse in case of emergency is worth getting answers about.

It backs up enough data that it generally could be reversed by moving the data back and moving the backup database file back in place.

That’s not always true though as if using OVN, OVS or Ceph, then reverting becomes a whole lot more complex. Automating the revert process when we don’t really control the filesystem layout or database of LXD would be pretty risky, so we tend to prefer the current approach of keeping detailed logs of all actions, backing up the database files but ultimately requiring manual action if you need to revert.

1 Like