Scheduled backups not working
Posted: Wed Dec 06, 2017 10:51 am
We currently have an issue with scheduled backups in Nagios XI.
We have configured scheduled SSH backups and scheduled local backups. These do not run as per the schedule.
We have been monitoring the /usr/local/nagiosxi/var/ cmdsubsys.log at the time the schedule should run and nothing happens.
We have increased the log level for scheduled backups to debug as per the steps detailed in https://support.nagios.com/kb/article.php?id=578.
Below are the entries from /usr/local/nagiosxi/var/components/scheduledbackups.log file for a scheduled backup job that tried to run:
12-06-2017 12:20:01 DEBUG: Running scheduled SSH backup ...
12-06-2017 12:20:01 DEBUG: Sending create local backup command to CmdSubsystem
12-06-2017 12:42:37 ERROR: Scheduled SSH Backup Failed: Local file to transfer does not exist
It is worth noting that we can create a manual backup successfully via the web interface (Admin > Local Backup Archives > Create Backup) and by running the /usr/local/nagiosxi/scripts/backup_xi.sh
We have configured scheduled SSH backups and scheduled local backups. These do not run as per the schedule.
We have been monitoring the /usr/local/nagiosxi/var/ cmdsubsys.log at the time the schedule should run and nothing happens.
We have increased the log level for scheduled backups to debug as per the steps detailed in https://support.nagios.com/kb/article.php?id=578.
Below are the entries from /usr/local/nagiosxi/var/components/scheduledbackups.log file for a scheduled backup job that tried to run:
12-06-2017 12:20:01 DEBUG: Running scheduled SSH backup ...
12-06-2017 12:20:01 DEBUG: Sending create local backup command to CmdSubsystem
12-06-2017 12:42:37 ERROR: Scheduled SSH Backup Failed: Local file to transfer does not exist
It is worth noting that we can create a manual backup successfully via the web interface (Admin > Local Backup Archives > Create Backup) and by running the /usr/local/nagiosxi/scripts/backup_xi.sh