Page 1 of 1

Scheduled Backup Failed

Posted: Mon Apr 24, 2023 9:27 am
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

Re: Scheduled Backup Failed

Posted: Mon Apr 24, 2023 10:26 am
by bv406
Maybe refer to this document to help you troubleshoot.
https://answerhub.nagios.com/support/s/ ... g-43450835

Re: Scheduled Backup Failed

Posted: Mon Apr 24, 2023 11:28 am
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.

Re: Scheduled Backup Failed

Posted: Mon Apr 24, 2023 1:00 pm
by bv406
Awesome. Glad that fixed it.

Re: Scheduled Backup Failed

Posted: Wed May 31, 2023 10:10 am
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

Re: Scheduled Backup Failed

Posted: Mon Dec 11, 2023 1:51 am
by tracyberges
Examine the attached section of the 'scheduledbackups.log' file to understand the error or failure message in more detail. Look for any specific error codes, timestamps, or relevant information that can help identify the cause of the failure. Super Mario

Re: Scheduled Backup Failed

Posted: Wed Dec 13, 2023 10:49 am
by sgardil
Hey Kyle

Did you attempt increasing the backup timeout? If so did it fix the issue of receiving a failed backup email before the backup is completed? I havn't been able to find any more information on this so if that didn't fix the issue could you attach as system profile and we can see if we notice anything off?