Nagios daily/monthly/weekly backups
-
prateekagr1988
- Posts: 62
- Joined: Fri Sep 26, 2014 7:21 pm
Nagios daily/monthly/weekly backups
Please suggest how do we change the location of Nagios daily/monthly/weekly backups.
By default, I understand it places the backups in /store, which is mounted in root file system.
Kindly suggest how can the backups be generated directly in non-root filesystem.
By default, I understand it places the backups in /store, which is mounted in root file system.
Kindly suggest how can the backups be generated directly in non-root filesystem.
Re: Nagios daily/monthly/weekly backups
Please go to Admin -> Scheduled Backups and click the Local tab to change the local backup settings. There are also FTP and SSH options available if you wish to use them.
Former Nagios employee
-
prateekagr1988
- Posts: 62
- Joined: Fri Sep 26, 2014 7:21 pm
Re: Nagios daily/monthly/weekly backups
I don't see the option in Admin. Is it for Nagiox XI 2012R1.2 ?
Re: Nagios daily/monthly/weekly backups
Actually, the Scheduled Backups component was added in Nagios XI 2014R1.0. The "auto-backup" scripts that run on a cron job are placed in "/root/scripts/". You can open the "automysqlbackup" or "autopostgresqlbackup" scripts in a text editor and modify the path to the backup directory if you need to.
Hope this helps.
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
prateekagr1988
- Posts: 62
- Joined: Fri Sep 26, 2014 7:21 pm
Re: Nagios daily/monthly/weekly backups
Hi,
The suggestion definitely helped. Thansk a lot !
Could you suggest if there are any temporary files being created in Nagios XI, that can be deleted to save space ?
As there are daily/weekly/monthly backups being created, is it feasible to validate the monthly backups if they are correctly generated.
So that we can eventually clean-up the older daily/weekly backups to save disk space.
The suggestion definitely helped. Thansk a lot !
Could you suggest if there are any temporary files being created in Nagios XI, that can be deleted to save space ?
As there are daily/weekly/monthly backups being created, is it feasible to validate the monthly backups if they are correctly generated.
So that we can eventually clean-up the older daily/weekly backups to save disk space.
Re: Nagios daily/monthly/weekly backups
Hey,
You should not save your backups on the Nagios XI server itself imho.
Grtz
Willem
You should not save your backups on the Nagios XI server itself imho.
Grtz
Willem
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
-
prateekagr1988
- Posts: 62
- Joined: Fri Sep 26, 2014 7:21 pm
Re: Nagios daily/monthly/weekly backups
Hi,
I agree. We are planning to move the backups to a different location.
As of now, the backups have occupied majority of the disk space, and we need to perform some housekeeping.
It would be really helpful if you could share your suggestions.
I agree. We are planning to move the backups to a different location.
As of now, the backups have occupied majority of the disk space, and we need to perform some housekeeping.
It would be really helpful if you could share your suggestions.
-
prateekagr1988
- Posts: 62
- Joined: Fri Sep 26, 2014 7:21 pm
Re: Nagios daily/monthly/weekly backups
Additionally, is there an option for logs rotation ?
Re: Nagios daily/monthly/weekly backups
We do use logrotate, but there is no option to configure it in the web interface. The config is quite small:prateekagr1988 wrote:Additionally, is there an option for logs rotation ?
/etc/logrotate.d/nagiosxi
Code: Select all
/usr/local/nagiosxi/var/*log {
missingok
notifempty
}
Former Nagios employee
-
prateekagr1988
- Posts: 62
- Joined: Fri Sep 26, 2014 7:21 pm
Re: Nagios daily/monthly/weekly backups
Okay.. what exactly would the snippet do ?
Also, any suggestions on the housekeeping of backups ?
Also, any suggestions on the housekeeping of backups ?