OpenVZ Forum


Home » International » Russian » offline транспортировка VE (Как переносить VE без сети?)
Re: offline транспортировка VE [message #36688 is a reply to message #36687] Thu, 09 July 2009 18:10 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

дома

1. vzctl stop $CTID
2. tar cvzf container-$CTID.tar.gz /vz/private/$CTID /etc/vz/conf/$CTID.conf
3. cp container-$CTID.tar.gz /где/флешка

на работе

1. cd /
2. tar xvzf /где/флешка/container-$CTID.tar.gz
3. mkdir /vz/root/$CTID
4. vzctl set $CTID --ipdel all --ipadd $NEWIP --save
5. vzctl start $CTID

Wink


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Previous Topic: [solved] Использование физической сетевой в VE
Next Topic: Размещение VE's FS
Goto Forum:
  


Current Time: Sun Aug 31 22:10:49 GMT 2025

Total time taken to generate the page: 0.13323 seconds