Page 3 of 3

Re: Local Backups Not Replacing Oldest

Posted: Wed Aug 22, 2018 8:14 am
by matt.lilek
both sections already have localhost listed

Re: Local Backups Not Replacing Oldest

Posted: Wed Aug 22, 2018 8:25 am
by matt.lilek
Hey,I just took a look at att3-nag1 and it has 2 backups still sitting there it didnt delete the old one.

Re: Local Backups Not Replacing Oldest

Posted: Wed Aug 22, 2018 3:50 pm
by ssax
Apparently there was a different change later, please replace your /usr/local/nagiosxi/html/includes/components/scheduledbackups/scheduledbackups.inc.php with the one I've attached and let us know if that fixes the problem.
scheduledbackups.zip
Thanks!

Re: Local Backups Not Replacing Oldest

Posted: Wed Aug 22, 2018 4:56 pm
by ssax
In addition, you can edit your /usr/local/nagiosxi/html/includes/constants.inc.php file and set SB_LOGLEVEL to 0 to enable debugging, then it should show you more information in /usr/local/nagiosxi/var/components/scheduledbackups.log.

Code: Select all

// Scheduled backups constants
// 0 - Debug, 1 - Info, 2 - Warning, 3 - Error
define('SB_LOGLEVEL', 0);