OpenVZ Forum


Home » Mailing lists » Users » Cloning and permissions
Re: Cloning and permissions [message #25226 is a reply to message #25210] Tue, 18 December 2007 07:14 Go to previous messageGo to previous message
Jean-Michel Caricand is currently offline  Jean-Michel Caricand
Messages: 4
Registered: December 2007
Junior Member
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.
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@lifc.univ-fcomte.fr

Equipe systèmes
Laboratoire d'Informatique de l'Université de Franche-Comté
16, route de Gray - 25030 BESANÇON CEDEX
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: VE fails to stop
Next Topic: ALERT! /dev/mapper/ubuntu-root does not exist
Goto Forum:
  


Current Time: Tue Aug 19 15:38:33 GMT 2025

Total time taken to generate the page: 0.15322 seconds