Page 1 of 2

Diary backup is random a date.

Posted: Fri Aug 17, 2018 9:58 pm
by dimsum
Hi Support,

I have enabled a local backup is a diary backup with 14 days of retention. so why the date is random it should be 1,2,3,4...

Please see my attached picture.

Thank you.

Re: Diary backup is random a date.

Posted: Mon Aug 20, 2018 10:35 am
by ssax
Please attach a screenshot of Admin > Scheduled Backups > Local tab.

Please attach this file as well:

Code: Select all

/usr/local/nagiosxi/var/components/scheduledbackups.log
Thank you

Re: Diary backup is random a date.

Posted: Mon Aug 20, 2018 10:01 pm
by dimsum
Here for a log file.

Re: Diary backup is random a date.

Posted: Tue Aug 21, 2018 8:57 am
by ssax
Please post screenshots of:

Admin > Scheduled Backups > Local tab

AND

Admin > Scheduled Backups > SSH tab

I want to see what your settings are.

Re: Diary backup is random a date.

Posted: Tue Aug 21, 2018 11:22 am
by dimsum
Here, SS

Re: Diary backup is random a date.

Posted: Tue Aug 21, 2018 12:47 pm
by ssax
As a test, please swap the Local and SSH backup times, so run the Local backup at 04:00 and the SSH backup at 05:00.

What is the full output of this command?

Code: Select all

ls -l /store/backups/nagiosxi
You could also try putting this at the bottom of your /usr/local/nagiosxi/html/config.inc.php:
- Note: Put it above the DO NOT MODIFY LINE at the bottom

Code: Select all

$cfg['backup_timeout'] = 3600;
/*********   DO NOT MODIFY ANYTHING BELOW THIS LINE   **********/

Re: Diary backup is random a date.

Posted: Wed Aug 22, 2018 7:36 am
by dimsum
output of the command ls -l /store/backups/nagiosxi

I still use the running-config. not modify anything.

Thanks.

Re: Diary backup is random a date.

Posted: Wed Aug 22, 2018 3:24 pm
by ssax
What version of XI are you using? You can grab it from the bottom left hand side of the web interface.

Re: Diary backup is random a date.

Posted: Sun Aug 26, 2018 9:12 am
by dimsum
My env.

Nagios XI 5.4.13
OS CentOS Linux release 7.4.1708 (Core)

Re: Diary backup is random a date.

Posted: Mon Aug 27, 2018 12:45 pm
by ssax
If you go to Admin > Audit Log, do you see the daily entries for the command for submitting the backup to the system around 4am even for the days that are missing?

Code: Select all

User submitted a command to the subsystem (ID=1117)