[Lxc-users] Moving lxc containers

Trent W. Buck trentbuck at gmail.com
Mon Mar 28 23:28:48 UTC 2011


Amit Uttamchandani <amit.uttam at gmail.com>
writes:

> On Mon, Mar 28, 2011 at 12:59:25PM +1100, Trent W. Buck wrote:
>> If you use tar, make sure to pass --numeric-owner, ESPECIALLY if the
>> container is RH-derived and the host is Debian-derived (or
>> vice-versa).
>
> Hmmm...I could try this. I was thinking more along the lines of rsync.

That'll work just as well, but you need to work out the right options to
ensure all the metadata you care about gets transferred correctly.
There are a lot more options to get wrong with rsync :-(





More information about the lxc-users mailing list