Diary backup is random a date.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Diary backup is random a date.

Post 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.
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Diary backup is random a date.

Post 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
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Re: Diary backup is random a date.

Post by dimsum »

Here for a log file.
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Diary backup is random a date.

Post 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.
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Re: Diary backup is random a date.

Post by dimsum »

Here, SS
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Diary backup is random a date.

Post 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   **********/
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Re: Diary backup is random a date.

Post by dimsum »

output of the command ls -l /store/backups/nagiosxi

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

Thanks.
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Diary backup is random a date.

Post by ssax »

What version of XI are you using? You can grab it from the bottom left hand side of the web interface.
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Re: Diary backup is random a date.

Post by dimsum »

My env.

Nagios XI 5.4.13
OS CentOS Linux release 7.4.1708 (Core)
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Diary backup is random a date.

Post 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)
Locked