Backup location

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Backup location

Post by BanditBBS »

I scheduled local backups in XI and selected a location other than the default. Yet the /store folder is still being filled. Is the backup_xi.sh script still being called daily somehow? I can't find it in cron or anything. If so, is there any way we can configure the location for it to run or will I just have to modify that script whenever I update and modify the $rootdir variable?

If so, I'll be adding a feature request :) Just let me know.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Backup location

Post by cmerchant »

Autobackups are run out of cron -

Code: Select all

/etc/cron.d/nagiosxi:0   7 * * * root   /root/scripts/automysqlbackup
/etc/cron.d/nagiosxi:0   8 * * * root   /root/scripts/autopostgresqlbackup

Code: Select all

 grep BACKUPDIR= /root/scripts/*
/root/scripts/automysqlbackup:BACKUPDIR="/store/backups/mysql"
/root/scripts/autopostgresqlbackup:#BACKUPDIR="/home/backups/pgsql_backups"
/root/scripts/autopostgresqlbackup:BACKUPDIR="/store/backups/postgresql"
Locked