Local Scheduled Backup failure

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
tgriep
Madmin
Posts: 9179
Joined: Thu Oct 30, 2014 9:02 am

Re: Local Scheduled Backup failure

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
NetNeutron
Posts: 36
Joined: Thu Aug 25, 2016 12:49 pm

Re: Local Scheduled Backup failure

Post 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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Local Scheduled Backup failure

Post by dwhitfield »

It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!
NetNeutron
Posts: 36
Joined: Thu Aug 25, 2016 12:49 pm

Re: Local Scheduled Backup failure

Post by NetNeutron »

Yes I believe it to be resolved. Lock it up !
Locked