Scheduled Backup Failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
kcarlson
Posts: 54
Joined: Thu Oct 20, 2016 9:17 am

Scheduled Backup Failed

Post by kcarlson »

Hello,

Just recently our scheduled weekly SSH backups started to fail. When I test the connection and the transfer within the Nagios XI web interface both are successful. I have attached a section of the 'scheduledbackups.log' that I believe shows the cause of the failure. Which steps should I begin with to troubleshoot this issue?

Thanks
Kyle
You do not have the required permissions to view the files attached to this post.
bv406
Posts: 14
Joined: Tue Apr 11, 2023 11:45 am

Re: Scheduled Backup Failed

Post by bv406 »

Maybe refer to this document to help you troubleshoot.
https://answerhub.nagios.com/support/s/ ... g-43450835
kcarlson
Posts: 54
Joined: Thu Oct 20, 2016 9:17 am

Re: Scheduled Backup Failed

Post by kcarlson »

Hello,

Thank you for that document. It appears that running the repair databases script took care of the issue for me.

Thanks again.
bv406
Posts: 14
Joined: Tue Apr 11, 2023 11:45 am

Re: Scheduled Backup Failed

Post by bv406 »

Awesome. Glad that fixed it.
kcarlson
Posts: 54
Joined: Thu Oct 20, 2016 9:17 am

Re: Scheduled Backup Failed

Post by kcarlson »

Good Morning

It appears that this issue has cropped back up. Sometimes my weekly backups will succeed other times I receive a failure email from Nagios. When checking the web interface I see that they were last run with the correct time and date. When viewing the 'scheduledbackups.log' I see "Compressing backup...". After a few minutes later it see a entry saying "BACKUP COMPLETE" followed by "Backup stored in /store/backups/nagiosxi/nagiosxi.1685543042.tar.gz".

It seems like I'm receiving the backup failed emails before Nagios has even completed doing the entire backup. I also see a recommendation to set backup_timeout variable in config.inc.php. I have added the following line to that file:

$cfg['backup_timeout'] = 1800 ;

Any other thing I could be missing with this?

Thanks
Kyle
emmausa
Posts: 3
Joined: Tue Jun 06, 2023 2:33 am

Re: Scheduled Backup Failed

Post by emmausa »

I have searched a lot for solutions to fix this but still haven't solved this problem.
slither io
Post Reply