troubleshooting Question

moving lxd to another server

Avatar of Jasmin shahrzad
Jasmin shahrzad asked on
* lxdInstallationLXCUbuntuLinux
9 Comments1 Solution78 ViewsLast Modified:
i take a export from my lxd:  (from ubuntu 18.04 with snap installation of lxc version 3.19 and using zsf)
lxc publish CONTAINER_NAME --alias my-lxd
lxc image export my-lxd .
then move tarball to my new server (ubuntu 18.04.3 default lxc (version 3.0.3installation using zfs )
lxc image import bxxxx.tar.gz --alias my-lxd
then i try to create a new-lxd-name with command
lxc init my-lxd new-lxd-name

UNIQUE constraint failed: storage_volumes.storage_pool_id, storage_volumes.node_id,, storage_volumes.type
David Favor
Fractional CTO
Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros