Home » Categories » Products » Nagios XI » Troubleshooting » Common Problems

Backups are not being generated due to tar creation errors

If you are running Nagios XI 5.6.11, most likely your backups won't be compressed. You can verify if this is the case by listing the contents of the backup directory:

ls -la /store/backups/nagiosxi

If you see any directories, that are NOT compressed to "*.tar.gz" format, you would need to remove them:

cd /store/backups/nagiosxi
rm -rf <directory1> <directory2> <directory3>

Then, you would need to open the "/usr/local/nagiosxi/scripts/backup_xi.sh" file in a text editor, and remove the "-e" from the shebang line. Other words, you need to change this:

#!/bin/bash -e

to this:

#!/bin/bash

Save, and exit. This should fix the problem in 5.6.11.

The bug will be fixed in Nagios XI 5.6.12.

 

 

 

 

 

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
CCM says unapplied changes exist, but none listed
Viewed 2486 times since Mon, Feb 27, 2017
Nagios XI - ERROR: PostgresQL not running - exiting
Viewed 2446 times since Tue, Jan 26, 2016
Nagios XI - Modifying The Contents Of /usr/local/nagios/etc
Viewed 2684 times since Tue, Jan 26, 2016
Slack Notifications Stopped Working
Viewed 1877 times since Wed, Mar 18, 2020
Nagios XI - Notifications Not Sending In XI 5.3.0
Viewed 2421 times since Tue, Oct 4, 2016
Nagios XI - Running Out Of Disk Space On The Nagios XI VM
Viewed 13061 times since Tue, Jan 27, 2015
Nagios XI - Disabling Database UTF8 Connectivity
Viewed 2505 times since Thu, Mar 8, 2018
Nagios XI - ERROR: unable to open include file: conf.d/*.cfg
Viewed 2933 times since Sun, May 29, 2016
Nagios XI - Schedulded Backups No Longer Working
Viewed 3836 times since Fri, Jun 3, 2016
Nagios XI - MK Livestatus Problems With Mod-Gearman
Viewed 2736 times since Thu, Feb 25, 2016