Page 2 of 2

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

Posted: Wed Mar 18, 2015 5:07 pm
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]$ 

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

Posted: Thu Mar 19, 2015 9:34 am
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"

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

Posted: Thu Mar 19, 2015 3:40 pm
by krobertson71
Assuming safe to change these?

If so just reply yes and close the thread.

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

Posted: Thu Mar 19, 2015 4:06 pm
by cmerchant
Yes (make sure the permissions are setup correctly), and We'll go ahead and close the thread. Thanks.