Page 2 of 2

Re: Schedule Backup is not working

Posted: Tue Jan 10, 2017 5:10 am
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

Re: Schedule Backup is not working

Posted: Tue Jan 10, 2017 12:48 pm
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.

Re: Schedule Backup is not working

Posted: Wed Jan 11, 2017 6:46 am
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

Re: Schedule Backup is not working

Posted: Wed Jan 11, 2017 1:31 pm
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

Re: Schedule Backup is not working

Posted: Fri Jan 13, 2017 5:42 am
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.

Re: Schedule Backup is not working

Posted: Fri Jan 13, 2017 11:18 am
by rkennedy
Got it - sounds like things have resolved then. Are we good to close this thread?