Schedule Backup is not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sgoffar
Posts: 122
Joined: Wed Sep 21, 2016 9:30 am

Re: Schedule Backup is not working

Post by sgoffar »

After deleting those two Directory also not creating backup. We are getting below log:

01-10-2017 04:00:01 DEBUG: Running scheduled local backup ...
01-10-2017 04:00:01 INFO: Creating a local backup: nagiosxi.1484042401
01-10-2017 04:00:01 INFO: Too many backups! Limit is 5. Removing: nagiosxi.1452427206.tar.gz before proceeding with backup.
01-10-2017 04:00:02 DEBUG: Sending create local backup command to CmdSubsystem
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Schedule Backup is not working

Post by rkennedy »

As you're a customer, could you please submit a ticket in referencing this thread and my username? I'll pick it out of our queue, and we can get a remote session going to take a look at this.
Former Nagios Employee
sgoffar
Posts: 122
Joined: Wed Sep 21, 2016 9:30 am

Re: Schedule Backup is not working

Post by sgoffar »

Sure I will create a ticket.


On executing we are getting below error.

]# /usr/local/nagiosxi/scripts/backup_xi.sh
-bash: /usr/local/nagiosxi/scripts/backup_xi.sh: cannot execute binary file
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Schedule Backup is not working

Post by lmiltchev »

Can you run the following commands and show the output?

Code: Select all

sestatus
ls -la /usr/local/nagiosxi/scripts/backup_xi.sh
echo $0
awk -F':' '{print $1 " " $7}' /etc/passwd | grep root
Be sure to check out our Knowledgebase for helpful articles and solutions!
sgoffar
Posts: 122
Joined: Wed Sep 21, 2016 9:30 am

Re: Schedule Backup is not working

Post by sgoffar »

I have checked the script and found it has been changed. I have upload the new backup script and it's working fine.
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Schedule Backup is not working

Post by rkennedy »

Got it - sounds like things have resolved then. Are we good to close this thread?
Former Nagios Employee
Locked