Page 1 of 1

Backup location

Posted: Sat Nov 08, 2014 11:44 am
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.

Re: Backup location

Posted: Mon Nov 10, 2014 11:26 am
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"