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
Nagios XI - Optimizing The PHP Settings File
Viewed 5342 times since Thu, Jul 13, 2017
Nagios XI - SNMP MIB Upload Problems
Viewed 3189 times since Mon, Apr 10, 2017
Nagios XI - Scheduled Downtime Not Working
Viewed 2162 times since Mon, Oct 10, 2016
Nagios XI - Modifying The Contents Of /usr/local/nagios/etc
Viewed 1774 times since Tue, Jan 26, 2016
NDOUtils - Message Queue Exceeded
Viewed 6225 times since Thu, Jan 21, 2016
Nagios XI - Missing localhost Alerts
Viewed 2767 times since Sun, Nov 5, 2017
Nagios Core - Nagios did not exit in a timely manner
Viewed 2363 times since Wed, Jan 27, 2016
Nagios XI - Performance Graph Problems
Viewed 11501 times since Fri, Dec 19, 2014
Pages Not Displaying Correctly
Viewed 2180 times since Mon, Jan 25, 2016
Web Browser Reports 330 Error Content Encoding
Viewed 1631 times since Tue, Mar 7, 2017