[Users] Cloning and permissions

Jean-Michel Caricand jean-michel.caricand at lifc.univ-fcomte.fr
Tue Dec 18 02:14:54 EST 2007


Le lundi 17 décembre 2007 23:50, Peter Machell a écrit :
> On 18/12/2007, at 12:15 AM, Kirill Korotaev wrote:
> > Peter,
> >
> > It depends on what you mean by "cloning". What exact command/
> > operations
> > you did?
>
> vzctl stop xx
> cp -R /vz/private/xx /vz/private/xxx
> cp -R /etc/vz/conf/xx.conf /etc/vz/conf/xxx.conf
> vzctl start xxx
>
> > BTW, do you mean OpenVZ or Virtuozzo?
>
> OpenVZ
>
> regards,
> Peter.
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users

Hi Peter,

I think rsync is the best solution to copy a VE :-) 

Example : 

# rsync -av -numeric-ids /vz/private/101 /vz/private/102 (on the same host)

See : 
http://forum.openvz.org/index.php?t=msg&goto=3164&

Cheers.

-- 
Jean-Michel Caricand
Tél: 03.81.66.20.63
E-mail: jean-michel.caricand at lifc.univ-fcomte.fr

Equipe systèmes
Laboratoire d'Informatique de l'Université de Franche-Comté
16, route de Gray - 25030 BESANÇON CEDEX



More information about the Users mailing list