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 (1)
Article Rating (1 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 - Unable to Delete Host
Viewed 26242 times since Tue, Dec 16, 2014
Nagios XI - Common Upgrade Failures And Solutions
Viewed 15995 times since Thu, Jun 29, 2017
Nagios XI - Resetting The nagiosadmin Password
Viewed 50954 times since Mon, Jan 25, 2016
Nagios XI - Hosts Pending/Gray
Viewed 13221 times since Tue, Jan 6, 2015
Nagios XI - How To Delete A Data Source From An RRD File
Viewed 15529 times since Wed, Apr 27, 2016
Nagios XI - MSSQL Wizards - Adaptive Server connection failed
Viewed 13162 times since Thu, Aug 3, 2017
Slack Notifications Stopped Working
Viewed 5788 times since Wed, Mar 18, 2020
Nagios XI - Scheduled Backups No Longer Working
Viewed 9579 times since Fri, Jun 3, 2016
Nagios XI - Disabling Database UTF8 Connectivity
Viewed 6270 times since Thu, Mar 8, 2018
Nagios XI - SNMP MIB Upload Problems
Viewed 10984 times since Mon, Apr 10, 2017