OpenVZ Forum


Home » General » Support » About Clone VE
Re: About Clone VE [message #35543 is a reply to message #35519] Thu, 02 April 2009 16:44 Go to previous message
satimis is currently offline  satimis
Messages: 39
Registered: August 2008
Member
Hi maratrus,


Thanks for your advice.


# ls -l /var/lib/vz/
total 20
drwxr-xr-x 2 root root 4096 2008-04-21 22:19 dump
drwxr-xr-x 2 root root 4096 2009-04-02 23:02 lock
drwxr-xr-x 3 root root 4096 2009-04-01 11:53 private
drwxr-xr-x 3 root root 4096 2009-04-01 11:53 root
drwxr-xr-x 3 root root 4096 2008-09-24 18:54 template


# ls -l /var/lib/vz/root
total 4
drwxr-xr-x 20 root root 4096 2008-09-24 21:32 101


# locate 101.conf
/etc/vz/conf/101.conf



Then I'll run;

# mkdir /var/lib/vz/root/102

# cp /etc/vz/conf/101.conf /etc/vz/conf/102.conf

# mkdir /var/lib/vz/private/102

# pushd /var/lib/vz/private/101; tar c --numeric-owner * | tar x --numeric-owner -C /var/lib/vz/private/102; popd


If I'm wrong, please correct me. Thanks


B.R.
satimis
 
Read Message
Read Message
Read Message
Previous Topic: Question about memory usage in openVZ container
Next Topic: OpenVZ + ALT Linux Sisyphus (20081222) + WebVZ
Goto Forum:
  


Current Time: Sun Jul 28 20:23:28 GMT 2024

Total time taken to generate the page: 0.02796 seconds