OpenVZ Forum



Members   Search      Help    Register    Login    Home
Home » General » Support » vzmigrate - keep source online and set destination offline
vzmigrate - keep source online and set destination offline [message #28999] Thu, 03 April 2008 05:39 Go to next message
beyondx is currently offline beyondx
Messages: 21
Registered: October 2007
Junior Member
From: 212.66.153*
Hi everyone,

sorry for bugging again, but as this forum serves great support, I need to ask you once more.
I´m working on a simple backup-system for an OpenVZ HardwareNode. In fact I would like to clone running VEs onto another HardwareNode.
My first choice was vzdump. Unfortunately restoring of rather big VEs takes a lot of time. Thus I would like to use vzmigrate, which supports online-migration with acceptable downtime.
However as I only want the destination VE to be a backup, I need to set it offline, while the source remains online. Is this possible somehow? Just couldn´t find a solution or cheatcode.

Regards

Norman
Re: vzmigrate - keep source online and set destination offline [message #29033 is a reply to message #28999] Thu, 03 April 2008 07:40 Go to previous messageGo to next message
curx is currently offline curx
Messages: 681
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

From: *bisping.net
Have you tried, vzdump with the --suspend option, for backuping the
the container ?



OpenVZ Power User
http://systs.org/
Re: vzmigrate - keep source online and set destination offline [message #29036 is a reply to message #29033] Thu, 03 April 2008 08:59 Go to previous messageGo to next message
beyondx is currently offline beyondx
Messages: 21
Registered: October 2007
Junior Member
From: 212.66.153*
yeah I did, but actually this creates a backup-dump which needs desperate much time to be restored afterwards. Thus I´m looking for a faster way. Backups need up to 10gb...
Re: vzmigrate - keep source online and set destination offline [message #29045 is a reply to message #29036] Thu, 03 April 2008 15:58 Go to previous message
tomp is currently offline tomp
Messages: 54
Registered: August 2007
Member
From: *freedom2surf.net
Hi

You could try suspending, rsyncing, and then resuming:

vzctl chkpnt 103 --suspend
rsync -avH --delete /vz/root/103/ /home/vzbackups/103/
vzctl chkpnt 103 --resume
Previous Topic:Routing Messed Up
Next Topic:Change container ID on the fly?
Goto Forum:
  


Current Time: Mon May 20 23:49:09 EDT 2013
Powered by FUDforum Powered by Parallels Virtuozzo Containers