Scheduled backup failure

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CJIndustries
Posts: 46
Joined: Wed Aug 24, 2016 6:39 am

Scheduled backup failure

Post by CJIndustries »

Running 5.5.11 on a VM, the scheduled ssh backups are not completing all of the way. I have them scheduled for one every week and to only keep one backup on the ssh server. When I look for the backup, there are two files. One which was the last good one and another which is not completed. This has been a constant problem for a while now. I have to remove both files and push a good backup from the nagios server itself. Any ideas on what I can do to fix this issue?

Attached is a pic of the of the end result every week.

Thanks.
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Scheduled backup failure

Post by npolovenko »

Hello, @CJIndustries. Are you able to open the non completed archive or is it corrupted? Can you go to the Amin menu in XI, then click on Manage Components in the left column and let me know the version next to the Scheduled Backups component?
Please run the following command in the terminal when the scheduled backup is supposed to execute, you will see the output live in the command line. Please copy and paste it in this thread.
tail /usr/local/nagiosxi/var/cmdsubsys.log -f
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
CJIndustries
Posts: 46
Joined: Wed Aug 24, 2016 6:39 am

Re: Scheduled backup failure

Post by CJIndustries »

Attached is the output and a screenshot of the schedule backup component version.

Not sure why but it finished without error. The only thing I changed was the schedule time to just now.

Not sure what to do from here. Maybe just change the backup day and time to something else.

Any ideas?

Thanks.
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Scheduled backup failure

Post by npolovenko »

@CJIndustries, Are there any other network devices backing up to the same network drive during the night? Perhaps it's hitting some kind of connection limit? Changing the time would be a good idea. I'd also recommend checking the logs on the network device to see what is going on.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
CJIndustries
Posts: 46
Joined: Wed Aug 24, 2016 6:39 am

Re: Scheduled backup failure

Post by CJIndustries »

I checked the logs from the ssh server and it seems that nagios just sent the 86 megs and then closed the connection. There are no other backups happening at that time. I upgraded the ssh server and changed the backup time for nagios. Hope that solves the issue.

Thanks again.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Scheduled backup failure

Post by npolovenko »

@CJIndustries, I see. It could be that some maintenance cron job on the XI server ran at the same time with the backup causing it to fail. Changing the backup time would be a good next step in the troubleshooting process.
I will leave this thread open so you can update us on this issue in a couple days.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked