backup not restored on Offloaded remote system
Posted: Thu Mar 13, 2014 10:29 am
Hi Team,
We have two systems installed NagiosXI and offloaded MySQL DB. ITs working fine, and backup is completing properly.
Backup script /usr/local/nagiosxi/scripts/backup_xi.sh
Restore script /usr/local/nagiosxi/scripts/restore_xi.sh
When we are using below command and restored backup its performed following things.
/usr/local/nagiosxi/scritps/restore_xi.sh /store/backup/nagiosxi/XXXXXX.tar.gz
DONE: Nagios Core files (/usr/local/nagios)
DONE: Nagios XI files (/usr/local/nagiosxi)
DONE: NagiosQL files (/var/www/html/nagiosql and /etc/nagiosql)
DONE: Select Apache config files (in /etc/httpd/conf.d)
DONE: Select logrotate config files (in /etc/logrotate.d)
NOT DONE :
DONE: Select PostgresQL databases (nagiosxi)
IF backup scritp is taking complete backup along with mysql db which is offloaded, why it is not restored when we restored from the script.
Please check the backup and restore scrtip in attachment .
We have two systems installed NagiosXI and offloaded MySQL DB. ITs working fine, and backup is completing properly.
Backup script /usr/local/nagiosxi/scripts/backup_xi.sh
Restore script /usr/local/nagiosxi/scripts/restore_xi.sh
When we are using below command and restored backup its performed following things.
/usr/local/nagiosxi/scritps/restore_xi.sh /store/backup/nagiosxi/XXXXXX.tar.gz
DONE: Nagios Core files (/usr/local/nagios)
DONE: Nagios XI files (/usr/local/nagiosxi)
DONE: NagiosQL files (/var/www/html/nagiosql and /etc/nagiosql)
DONE: Select Apache config files (in /etc/httpd/conf.d)
DONE: Select logrotate config files (in /etc/logrotate.d)
NOT DONE :
(it seems it restored in local nagiosxi machine)Select MySQL databases (nagios and nagiosql) Not restored on remote system(offloaded)
DONE: Select PostgresQL databases (nagiosxi)
IF backup scritp is taking complete backup along with mysql db which is offloaded, why it is not restored when we restored from the script.
Please check the backup and restore scrtip in attachment .