[lxc-users] Fastest way to copy containers

Andrey Repin anrdaemon at yandex.ru
Tue Jul 25 14:40:37 UTC 2017


Greetings, Ron Kelley!

> 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.

btrfs send/receive is fast, when you send incremental copies of partitions.
And of course it will be slower than rsync, since it works on a different
level.

> As an aside; I think LXD should allow the user to specify which copy tool
> to leverage when doing the copying.  Is that possible?

I think there's a difference between copying within the same host and between
different hosts.


-- 
With best regards,
Andrey Repin
Tuesday, July 25, 2017 17:21:19

Sorry for my terrible english...


More information about the lxc-users mailing list