Nagios XI Backups working but not adhearing to day limit

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
krobertson71
Posts: 444
Joined: Tue Feb 11, 2014 10:16 pm

Re: Nagios XI Backups working but not adhearing to day limit

Post by krobertson71 »

I knew that but I think I know where I am confused now.

The local NagiosXI backup is from the last upgrade, which is fine.
Selection_184.png


I am seeing under /store/backups/mysql/daily backups from the last 6 days.

Is the able to change as well?

Code: Select all

-rw-r--r-- 1 root root 6898634 Mar 12 07:00 nagios_2015-03-12_07h00m.Thursday.sql.gz
-rw-r--r-- 1 root root 7039179 Mar 13 07:00 nagios_2015-03-13_07h00m.Friday.sql.gz
-rw-r--r-- 1 root root 7178438 Mar 15 07:00 nagios_2015-03-15_07h00m.Sunday.sql.gz
-rw-r--r-- 1 root root 7115773 Mar 16 07:00 nagios_2015-03-16_07h00m.Monday.sql.gz
-rw-r--r-- 1 root root 7197781 Mar 17 07:00 nagios_2015-03-17_07h00m.Tuesday.sql.gz
-rw-r--r-- 1 root root 6951107 Mar 18 07:00 nagios_2015-03-18_07h00m.Wednesday.sql.gz
[nagios@nagiasp01 nagios]$ pwd
/store/backups/mysql/daily/nagios
[nagios@nagiasp01 nagios]$ 
You do not have the required permissions to view the files attached to this post.
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Nagios XI Backups working but not adhearing to day limit

Post by cmerchant »

Those database backups are separate from the scheduled backup component, and are part of a cron job run from

/root/scripts/automysqlbackup
and
/root/scripts/autopostgresqlbackup

The location of those backups are specified in the above scripts.

Code: Select all

grep BACKUPDIR /root/scripts/*
automysqlbackup:BACKUPDIR="/store/backups/mysql"
autopostgresqlbackup:BACKUPDIR="/store/backups/postgresql"
krobertson71
Posts: 444
Joined: Tue Feb 11, 2014 10:16 pm

Re: Nagios XI Backups working but not adhearing to day limit

Post by krobertson71 »

Assuming safe to change these?

If so just reply yes and close the thread.
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Nagios XI Backups working but not adhearing to day limit

Post by cmerchant »

Yes (make sure the permissions are setup correctly), and We'll go ahead and close the thread. Thanks.
Locked