Live-coping containers between LXD servers?

So, a long time ago, we could live-copy containers from LXD server to LXD server by making sure that CRIU is installed.

Recently, attempting to live-copy a container when CRIU was installed on both sides of the system failed, in that the system was unable to locate the local CRIU install.

Both LXD(s) are snaps so they’re the latest LXD.

Is there something I’m missing, or is live-copying a container no longer supported?

snap set lxd criu.enable=true
systemctl reload snap.lxd.daemon

That will enable the copy of CRIU that’s built into the snap.

1 Like

Well, that was easy.

Thanks, stgraber!