Local Backups Not Replacing Oldest

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
matt.lilek
Posts: 137
Joined: Wed Aug 07, 2013 11:53 am

Re: Local Backups Not Replacing Oldest

Post by matt.lilek »

both sections already have localhost listed
matt.lilek
Posts: 137
Joined: Wed Aug 07, 2013 11:53 am

Re: Local Backups Not Replacing Oldest

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Local Backups Not Replacing Oldest

Post 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!
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Local Backups Not Replacing Oldest

Post 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);
Locked