LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » Archive » HyperVM Bug Reports » Hypervm update stops central backup
Hypervm update stops central backup [message #63294] Sun, 03 May 2009 08:47 Go to next message
Marie is currently offline Marie  France
Messages: 511
Registered: June 2007
Location: France
Master

Not sure it's a bug but it sure is a problem : running an hypervm update while the central backup script is running will stop the backup :

Quote:
Program Did not Complete because of error slave_version_higher._please_update_master_to_the_latest_ver sion


Is there any way to restart the backup process only for the VPS that have not been already backed up ?



Marie
Need Further Assistance ? Here you go !
English, french and spanish support Smile
Re: Hypervm update stops central backup [message #67241 is a reply to message #63294] Sun, 07 June 2009 06:40 Go to previous messageGo to next message
mcsm is currently offline mcsm  Portugal
Messages: 36
Registered: March 2009
Member
Hello,

I also had this issue, can someone please reply? is there anyway to restart the backups that were not done?
Re: Hypervm update stops central backup [message #67857 is a reply to message #67241] Wed, 10 June 2009 23:35 Go to previous messageGo to next message
jemmille is currently offline jemmille  United States
Messages: 30
Registered: February 2008
Location: Michigan
Member
Since the central backup system uses rsync just run the following command from the master server:

cd /usr/local/lxlabs/hypervm/httpdocs/; lphp.exe ../bin/vpsbackup.php --newarg=true

It will redo all of the servers/accounts but the ones that did complete with the previous session will fly by because rsync only backs up changed files.



Sys Admin - A2 Hosting, Inc.
www.a2hosting.com
Re: Hypervm update stops central backup [message #67875 is a reply to message #67857] Thu, 11 June 2009 04:08 Go to previous messageGo to next message
Marie is currently offline Marie  France
Messages: 511
Registered: June 2007
Location: France
Master

jemmille wrote on Thu, 11 June 2009 05:35
Since the central backup system uses rsync just run the following command from the master server:

cd /usr/local/lxlabs/hypervm/httpdocs/; lphp.exe ../bin/vpsbackup.php --newarg=true

It will redo all of the servers/accounts but the ones that did complete with the previous session will fly by because rsync only backs up changed files.




Of course we can run the whole process again, but it is not that fast because the snapshot is still created, then mounted, then deleted for each vps. The rsync part is not the longest.

For now, I am not using the automated update and I have created this alias :
alias hvmup='if [ "$(ps auxf | grep -c  vpsbackup.php)" -gt "1" ];then echo backup is running;else cd /usr/local/lxlabs/hypervm/httpdocs/;lphp.exe ../bin/update.php;fi'




Marie
Need Further Assistance ? Here you go !
English, french and spanish support Smile
Re: Hypervm update stops central backup [message #67896 is a reply to message #67875] Thu, 11 June 2009 11:20 Go to previous message
jemmille is currently offline jemmille  United States
Messages: 30
Registered: February 2008
Location: Michigan
Member
I wasn't familiar with the update.php command. I've just been experimenting with the backup over the past two weeks. Good to know!

Sys Admin - A2 Hosting, Inc.
www.a2hosting.com
Previous Topic:Port Monitoring
Next Topic:Showing errors in putty console at screen
Goto Forum:
  


Current Time: Thu May 23 08:02:43 EDT 2013

Total time taken to generate the page: 0.01084 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software