[lxc-users] Fastest way to copy containers

Fajar A. Nugraha list at fajar.net
Tue Jul 25 12:18:25 UTC 2017


On Tue, Jul 25, 2017 at 7:11 PM, Ron Kelley <rkelleyrtp at gmail.com> wrote:

> Greetings all,
>
> I am trying to copy sites from one LXD to another - both running BTRFS.
> The normal “lxc copy” command uses btrfs send/receive which is terribly
> slow.  Since rsync works much, much faster, is there a quick way to create
> the container “shell” on the remote server (and register it with LXD) and
> then manually rsync the data over?
>
>
probably 'lxc init', choosing the smallest available container (e.g.
images:alpine/3.5).


> As an aside; I think LXD should allow the user to specify which copy tool
> to leverage when doing the copying.  Is that possible?
>
>
The intention was probably 'to use storage-specific method, which should be
much faster' (which is true with zfs).

-- 
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170725/9d9693d1/attachment.html>


More information about the lxc-users mailing list