[lxc-users] LXD "offline" migration
zztest at openmailbox.org
zztest at openmailbox.org
Tue Mar 15 00:55:21 UTC 2016
On 2016-03-13 04:27, david.andel at bli.uzh.ch wrote:
> What encryption is LXD using for the move behind the scenes?
>
> -----"lxc-users" <lxc-users-bounces at lists.linuxcontainers.org> wrote:
> -----
>
> Use the lxc "move" command:
>
> lxc move [remote:]<source container> [remote:]<destination container>
>
> On 2016-03-12 14:23, david.andel at bli.uzh.ch wrote:
>> Hi
>>
>> For simple "offline" migration, i.e. migration of a stopped
> container,
>> can I just copy /var/lib/lxd/containers/xyz to another host or do I
>> need to use specific lxc commands?
>> Can I move images in a similar way, by simply copying
>> /var/lib/lxd/images/xyz to another host?
>>
>> Thanks
>>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users [1]
>
>
> Links:
> ------
> [1] http://lists.linuxcontainers.org/listinfo/lxc-users
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
I am not quite sure, but I think it depends on the underlying
filesystems of the hosts. For example, if they are both btrfs, it will
use "btrfs send" to move the container, but if they don't match it will
use rsync.
More information about the lxc-users
mailing list