<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Drbista</id>
	<title>OpenVZ Virtuozzo Containers Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Drbista"/>
	<link rel="alternate" type="text/html" href="https://wiki.openvz.org/Special:Contributions/Drbista"/>
	<updated>2026-06-13T20:33:32Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Cloning_VE&amp;diff=2526</id>
		<title>Cloning VE</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Cloning_VE&amp;diff=2526"/>
		<updated>2006-11-21T06:23:17Z</updated>

		<summary type="html">&lt;p&gt;Drbista: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If you need to create an exact copy of an existing VE, these are the steps to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# OLDVE=222 NEWVE=333 # Just an example&lt;br /&gt;
# vzctl stop $OLDVE&lt;br /&gt;
# mkdir /vz/root/$NEWVE&lt;br /&gt;
# cp /etc/vz/conf/$OLDVE.conf /etc/vz/conf/$NEWVE.conf&lt;br /&gt;
# cp -a /vz/private/$OLDVE /vz/private/$NEWVE&lt;br /&gt;
# vzctl start $NEWVE; vzctl start $OLDVE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* http://forum.openvz.org/index.php?t=tree&amp;amp;th=878&amp;amp;mid=4749&amp;amp;&lt;br /&gt;
The relevant services, particularly when the mySQLd encounters timeout errors, follow the following thread:&lt;br /&gt;
* http://forum.openvz.org/index.php?t=tree&amp;amp;goto=8481&amp;amp;#msg_8481&lt;br /&gt;
&lt;br /&gt;
[[Category:HOWTO]]&lt;/div&gt;</summary>
		<author><name>Drbista</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Cloning_VE&amp;diff=2525</id>
		<title>Cloning VE</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Cloning_VE&amp;diff=2525"/>
		<updated>2006-11-21T06:21:20Z</updated>

		<summary type="html">&lt;p&gt;Drbista: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;If you need to create an exact copy of an existing VE, these are the steps to make.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# OLDVE=222 NEWVE=333 # Just an example&lt;br /&gt;
# vzctl stop $OLDVE&lt;br /&gt;
# mkdir /vz/root/$NEWVE&lt;br /&gt;
# cp /etc/vz/conf/$OLDVE.conf /etc/vz/conf/$NEWVE.conf&lt;br /&gt;
# cp -a /vz/private/$OLDVE /vz/private/$NEWVE&lt;br /&gt;
# vzctl start $NEWVE; vzctl start $OLDVE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* http://forum.openvz.org/index.php?t=tree&amp;amp;th=878&amp;amp;mid=4749&amp;amp;&lt;br /&gt;
* http://forum.openvz.org/index.php?t=tree&amp;amp;goto=8481&amp;amp;#msg_8481&lt;br /&gt;
&lt;br /&gt;
[[Category:HOWTO]]&lt;/div&gt;</summary>
		<author><name>Drbista</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Category:HOWTO&amp;diff=2519</id>
		<title>Category:HOWTO</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Category:HOWTO&amp;diff=2519"/>
		<updated>2006-11-20T10:44:50Z</updated>

		<summary type="html">&lt;p&gt;Drbista: /* C */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This category is for various HOWTOs on all the possible topics.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== C ==&lt;br /&gt;
&lt;br /&gt;
Clone VPS&lt;br /&gt;
&lt;br /&gt;
This is important if you host several VEs in the same Hardware Node so that you don't have to repeat the same process again and again. &lt;br /&gt;
&lt;br /&gt;
Just do this:&lt;br /&gt;
&lt;br /&gt;
# vzctl stop old_VEid&lt;br /&gt;
#cp /vz/root/old_VEid /vz/root/new_VEid (don't know why but a file of that name was there, so I made a copy)&lt;br /&gt;
#cp /etc/vz/conf/old_VEid.conf /etc/vz/conf/new_VEid.conf&lt;br /&gt;
#cp -r /vz/private/old_VEid /vz/private/new_VEid&lt;br /&gt;
#vzctl start new_VEid; vzctl start old_VEid&lt;br /&gt;
&lt;br /&gt;
If it starts well, the VE is cloned. However, if you have created a VE with the same ID before and destroyed it (vzctl destroy VEid), then do not forget to delete files relating to that:&lt;br /&gt;
&lt;br /&gt;
#rm /vz/root/destroyed_VEid /etc/vz/conf/destroyed_VEid.conf.destroyed&lt;br /&gt;
&lt;br /&gt;
Maybe you need a HN reboot like in my case, but not sure.&lt;br /&gt;
&lt;br /&gt;
I ackknowledge the help of Mr. Vasily Tarasov at [http://forum.openvz.org/index.php?t=tree&amp;amp;th=878&amp;amp;mid=4749&amp;amp;&amp;amp;rev=&amp;amp;reveal=]&lt;br /&gt;
&lt;br /&gt;
Dr. Sichendra Bista&lt;br /&gt;
eParliament.org[http://eParliament.org]&lt;/div&gt;</summary>
		<author><name>Drbista</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Category:HOWTO&amp;diff=2518</id>
		<title>Category:HOWTO</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Category:HOWTO&amp;diff=2518"/>
		<updated>2006-11-20T10:35:08Z</updated>

		<summary type="html">&lt;p&gt;Drbista: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This category is for various HOWTOs on all the possible topics.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== C ==&lt;br /&gt;
&lt;br /&gt;
Clone VPS&lt;br /&gt;
&lt;br /&gt;
This is important if you host several VEs in the same Hardware Node so that you don't have to repeat the same process again and again. &lt;br /&gt;
&lt;br /&gt;
Just do this:&lt;br /&gt;
&lt;br /&gt;
# vzctl stop old_VEid&lt;br /&gt;
#cp /vz/root/old_VEid /vz/root/new_VEid (don't know why but a file of that name was there, so I made a copy)&lt;br /&gt;
#cp /etc/vz/conf/old_VEid.conf /etc/vz/conf/new_VEid.conf&lt;br /&gt;
#cp -r /vz/private/old_VEid /vz/private/new_VEid&lt;br /&gt;
#vzctl start new_VEid; vzctl start old_VEid&lt;br /&gt;
&lt;br /&gt;
If it starts well, the VE is cloned. However, if you have created a VE with the same ID before and destroyed it (vzctl destroy VEid), then do not forget to delete files relating to that:&lt;br /&gt;
&lt;br /&gt;
#rm /vz/root/destroyed_VEid /etc/vz/conf/destroyed_VEid.conf.destroyed&lt;br /&gt;
&lt;br /&gt;
Maybe you need a HN reboot like in my case, but not sure.&lt;br /&gt;
&lt;br /&gt;
I ackknowledge the help of Mr. Vasily Tarasov at [http://forum.openvz.org/index.php?t=tree&amp;amp;th=878&amp;amp;mid=4749&amp;amp;&amp;amp;rev=&amp;amp;reveal=]&lt;br /&gt;
&lt;br /&gt;
Dr. Sichendra Bista&lt;br /&gt;
eParliament.org&lt;/div&gt;</summary>
		<author><name>Drbista</name></author>
		
	</entry>
</feed>