Open main menu
OpenVZ Virtuozzo Containers Wiki
β
Search
Changes
← Older edit
Centos Upgrade 4.x to 5.x
75 bytes added
,
22:25, 2 June 2011
improved tar based backup/restore
<pre>
tar -cf
$CTID.
dev.tar
-C
/vz/private/$CTID
/
dev
</pre>
</pre>
==
Replace
Restore dev==
This will replace
the new /dev/ with the old one
==
:
<pre>
cd
mv
/vz/private/$CTID
mv
/
dev
/vz/private/$CTID/
dev.oldtar -xvf
$CTID.
dev.tar
-C /vz/private/$CTID
</pre>
Hm2k
27
edits