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:


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 - Status Information Cut Off At 256 Characters
Viewed 2864 times since Thu, Feb 25, 2016
Nagios XI - Event Data Is Stale
Viewed 2034 times since Wed, Jan 27, 2016
Nagios XI - Issues with mod_gearman and Performance Data Newlines: "\n"
Viewed 1581 times since Tue, Feb 2, 2016
Nagios XI - Host Still Visible After Deletion (Ghost Hosts)
Viewed 4969 times since Tue, Jan 27, 2015
NRPE - Agent and Plugin Explained
Viewed 28296 times since Fri, Jul 14, 2017
Nagios XI - Common Upgrade Failures And Solutions
Viewed 4257 times since Thu, Jun 29, 2017
Nagios XI - Installing Latest SourceGuardian Loaders
Viewed 2399 times since Mon, Jun 18, 2018
Nagios XI - MRTG Reports SNMP_Session Errors
Viewed 1850 times since Wed, Jul 27, 2016
Nagios XI - WMI Authentication Problems
Viewed 3643 times since Thu, Feb 25, 2016
Nagios XI - ICMP and Ping Checks Stopped Graphing
Viewed 5093 times since Mon, Jan 25, 2016