THIS KNOWLEDGE BASE HAS BEEN ARCHIVED AND IS NO LONGER BEING UPDATED
Please visit library.nagios.com/docs for the latest and most up-to-date documentation.
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.

 

 

 

 

 



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

1 (3)
Article Rating (3 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 - MK Livestatus Problems With Mod-Gearman
Viewed 7853 times since Thu, Feb 25, 2016
Nagios XI - 2014 Upgrade Issue - CONFIG ERROR
Viewed 7778 times since Mon, Jan 25, 2016
Installation errors on customized corporate builds of CentOS or RHEL
Viewed 16729 times since Tue, Jan 26, 2016
Nagios XI - Scheduled Downtime Not Working
Viewed 9799 times since Mon, Oct 10, 2016
Nagios XI - ERROR: unable to open include file: conf.d/*.cfg
Viewed 11272 times since Sun, May 29, 2016
Nagios XI - CentOS 6 Installation Problems XI 2011R1.7 2011R1.8
Viewed 6698 times since Tue, Feb 2, 2016
Nagios XI - Debugging Bandwidth Performance Graphs
Viewed 19454 times since Tue, Jan 27, 2015
NRPE - Agent and Plugin Explained
Viewed 78584 times since Fri, Jul 14, 2017
Nagios XI - ERROR: unable to open include file: /etc/mrtg/conf.d/xxxxxxx.cfg
Viewed 10800 times since Wed, Jun 1, 2016
Nagios XI - SourceGuardian Errors 2009R1.2C
Viewed 6196 times since Tue, Feb 2, 2016