Page 3 of 3
Re: Local Scheduled Backup failure
Posted: Thu Jan 19, 2017 1:33 pm
by tgriep
I received the PM, Thanks.
Make a full backup of the server as the following will be directly manipulating the mysql database and if something goes wrong, you will have a way to go back.
Run this command on you server, this will delete the local scheduled backup from the database.
Code: Select all
echo 'delete from xi_options where option_id = 49;' | mysql -t -pnagiosxi nagiosxi
Then go in to the XI interface and recreate the backup and see if that works.
Re: Local Scheduled Backup failure
Posted: Tue Jan 24, 2017 11:32 am
by NetNeutron
Hello. I think that finally did the trick.
In scheduledbackups.log
Code: Select all
01-24-2017 09:30:02 DEBUG: Running scheduled local backup ...
01-24-2017 09:30:02 INFO: Creating a local backup: nagiosxi.1485268202
01-24-2017 09:30:02 DEBUG: Sending create local backup command to CmdSubsystem
# ll -h /store/backups/nagiosxi/*1485268202*
Code: Select all
-rw-r----- 1 nagios nagios 1.5G Jan 24 09:37 /store/backups/nagiosxi/nagiosxi.1485268202.tar.gz
tgriep wrote:I received the PM, Thanks.
Make a full backup of the server as the following will be directly manipulating the mysql database and if something goes wrong, you will have a way to go back.
Run this command on you server, this will delete the local scheduled backup from the database.
Code: Select all
echo 'delete from xi_options where option_id = 49;' | mysql -t -pnagiosxi nagiosxi
Then go in to the XI interface and recreate the backup and see if that works.
Re: Local Scheduled Backup failure
Posted: Tue Jan 24, 2017 12:00 pm
by dwhitfield
It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!
Re: Local Scheduled Backup failure
Posted: Tue Jan 24, 2017 1:30 pm
by NetNeutron
Yes I believe it to be resolved. Lock it up !