[BlueOnyx:00770] Re: Raqbackup.sh not backing up vsites-but backing up everything else?
Gerald Waugh
gwaugh at frontstreetnetworks.com
Fri Mar 13 12:42:30 -05 2009
Restoring your server
Step # 1 - Make a directory mkdir /home/restore
Step # 2 - Change Owner Ship to Admin chown admin /home/restore
Step # 3 - Upload, as admin, all of your backup to /home/restore
Step # 4 - Telnet/SSH as Admin to your Server
Step # 5 - Change user to root su - root
Step # 6 - Change Directory cd /home/restore
Step # 7 - Extract the backup files tar zxvf hostname.of.source.cmu-xml-files.tar.gz
Step # 8 - Move the contents to current directory: mv home/nuonce/backup/system_backup/data/*. .
Step # 9 - Clean up: rm -Rf home/*
Step #10 - Import the files /usr/sbin/cmuImport -d /home/restore
Restore MySQL Backup
Step # 1 - Make a directory mkdir /home/restore
Step # 2 - Change Owner Ship to Admin chown admin /home/restore
Step # 3 - Upload, as admin, hostname.of.source.mysqldump.tar.gz to /home/restore
Step # 4 - Telnet/SSH as Admin to your Server
Step # 5 - Change user to root su - root
Step # 6 - Change Directory cd /home/restore
Step # 7 - Extract your backup tar zxvf hostname.of.source.mysqldump.tar.gz
Step # 8 - Move the contents to current directory: mv home/nuonce/backup/system_backup/data/*. .
Step # 9 - Clean up: rm -Rf home/*
Step #10 - Restore your databases
mysql -uroot -ppasswordofmysql < hostname.of.source.mysqldump.sql
Restore DNS & Additional Directories
Step #1 - Make a directory mkdir /home/restore
Step #2 - Change Owner Ship to Admin chown admin /home/restore
Step #3 - Upload, as admin, hostname.of.source.dirs.tar.gz to /home/restore
Step #4 - Telnet/SSH as Admin to your Server
Step #5 - Change user to root su - root
Step #6 - Change Directory cd /home/restore
Step #7 - Move the file to your / directory mv hostname.of.source.dirs.tar.gz /
Step #8 - Change directory to your "root": cd /
Step #9 - Extract the file tar zxvf hostname.of.source.dirs.tar.gz
Continue, only if you backed up your DNS
Step #10 - Make a working directory mkdir /tmp/dns_import
Step #11 - Move your old records to work dir
mv /var/named/chroot/var/named/db* /tmp/dns_import
Step #12 - Import your records /usr/bin/dnsImport.pl /tmp/dns_import
----- Original Message -----
From: Richard Sidlin
To: BlueOnyx General Mailing List
Sent: Friday, March 13, 2009 11:06 AM
Subject: [BlueOnyx:00769] Re: Raqbackup.sh not backing up vsites-but backing up everything else?
I'm getting this:
********************************* ERROR ********************************
tar: /home/raqbackup/data/*.xml: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
Anyone help?
----- Original Message -----
From: Jeff Jones
To: BlueOnyx General Mailing List
Sent: Friday, March 13, 2009 4:14 PM
Subject: [BlueOnyx:00768] Re: Raqbackup.sh not backing up vsites -but backing up everything else?
FYI - I have checked the cobaltBase.xml on the (now working) install and it does indeed read 5106R
So I think your idea will fix this problem if anyone else has it.
This is a really quite dangerous problem - I was getting 'Successful' emails / reports from raqbackup - and didn't think to check to make sure the vsites were included. It was only until I needed to get a file off the site from a backup... that I realized it was not there!
That was not a nice feeling!
So everyone - I recommend you check your vsites are backing up just in case!
But I think if you are on the latest set of RPMs you are OK.
Cheers,
Jeff
On 13 Mar 2009, at 15:59, Gerald Waugh wrote:
html and toppost wrotel
Maybe look at /etc/cmu/cobaltBase.xml
<name value = "Cobalt base configuration"/>
<product value = "5100R"/> ###### (try changing to 5106R)
<version value = "2.55"/>
<versionRequired value = "2.29"/>
Gerald
----- Original Message -----
From: Tony Loosle
To: BlueOnyx General Mailing List
Sent: Friday, March 13, 2009 9:35 AM
Subject: [BlueOnyx:00765] Re: Raqbackup.sh not backing up vsites - but backing up everything else?
Jeff,
I had the same problem. I had to re-install raqbackup.sh to fix the problem???
what did you do to fix it exactly?
t
*********** REPLY SEPARATOR ***********
On 3/13/2009 at 12:43 PM Jeff Jones wrote:
Update:
Looks like for some reason there was an issue with the last YUM.
I re-applied it, re-ran the backup - and now it works.
Phew!
Jeff
Jeff Jones
jeffrhysjones at mac.com
On 13 Mar 2009, at 09:58, Jeff Jones wrote:
Argh.
I think I had yum on auto-update and something has got broke - this always used to work.
Basically, when raqbackup.sh runs now - the logs shows me that it exports and builds the vsite - but then stops with the error:
Scanout: ERROR Cannot find build type: 5106R
It then continues to backup the user files, Mysql stuff - everything else.
Any reason why this is happening, and why does it work for the user stuff and not vsites?
Confused.
Jeff
Jeff Jones
jeffrhysjones at mac.com
_______________________________________________
Blueonyx mailing list
Blueonyx at blueonyx.it
http://www.blueonyx.it/mailman/listinfo/blueonyx
------------------------------------------------------------------------
_______________________________________________
Blueonyx mailing list
Blueonyx at blueonyx.it
http://www.blueonyx.it/mailman/listinfo/blueonyx
_______________________________________________
Blueonyx mailing list
Blueonyx at blueonyx.it
http://www.blueonyx.it/mailman/listinfo/blueonyx
--
This message has been scanned for viruses and
dangerous content by Help Internet MailScanner, and is
believed to be clean.
----------------------------------------------------------------------------
_______________________________________________
Blueonyx mailing list
Blueonyx at blueonyx.it
http://www.blueonyx.it/mailman/listinfo/blueonyx
------------------------------------------------------------------------------
_______________________________________________
Blueonyx mailing list
Blueonyx at blueonyx.it
http://www.blueonyx.it/mailman/listinfo/blueonyx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20090313/ade2e857/attachment.html>
More information about the Blueonyx
mailing list