[lxc-users] How to copy "manually" a container ?

Tamas Papp tamas.papp at rtfm.co.hu
Thu Aug 23 05:37:19 UTC 2018


On 08/23/2018 05:36 AM, Pierre Couderc wrote:
> If for any reason, "lxc copy" does not work, is it enough to copy 
> (rsync) /var/lib/lxd/containers/xxxx to another lxd on another 
> computer in /var/lib/lxd/containers/ ?

Copy the folder (watch out rsync flags) to 
/var/lib/lxd/storage-pools/default/containers/, symlink to 
/var/lib/lxd/containers and run 'lxd import'.

t


More information about the lxc-users mailing list