[Lxc-users] Moving an lxc container from one host to another . . .

Miroslav Lednicky miroslav.lednicky at fnusa.cz
Wed Feb 27 07:34:51 UTC 2013


Hello,

	You must use tar with option --numeric-owner

for example:

tar --numeric-owner -czvf lxc.tgz /lxc/my_lxc

Best regards,

Miroslav.

Dne 27.2.2013 00:38, Masood Mortazavi napsal(a):
> What is the best way to move an lxc container form one host to another?
> On ubuntu, a simple tar of the container files, move and copy, doesn't
> seem to work properly or reconstitute a container on the target host
> with proper settings.
> Man pages give very little information on this.  (I can speculate that
> one way is to create a specific template. However, it would be nice to
> have an easier way / trick.)
> - m.
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
>
>
>
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>

-- 
Miroslav Lednický,
Fakultní nemocnice u sv. Anny v Brně




More information about the lxc-users mailing list