This is a cache of https://support.nagios.com/kb/article/backups-are-not-being-generated-due-to-tar-creation-errors-867.html. It is a snapshot of the page at 2025-05-14T00:08:52.707+0000.
Backups are not being generated due to tar creation errors
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!

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 - Scheduled Backup Log Level
Viewed 5966 times since Tue, Apr 18, 2017
API changes in Nagios xi 5.7
Viewed 4094 times since Tue, Feb 23, 2021
Nagios xi - Problems Using Nagios xi With Proxies
Viewed 14589 times since Mon, Jan 25, 2016
Nagios xi - Configuration Verification Failed
Viewed 19871 times since Mon, Jan 25, 2016
Nagios xi - MySQL/MariaDB - Max Connections
Viewed 73637 times since Thu, Jun 2, 2016
SSL Certificate does not validate properly
Viewed 5363 times since Wed, Jan 20, 2021
Nagios xi - Defining Global Environment Variables
Viewed 10874 times since Thu, Mar 17, 2016
Nagios xi - HTTP 500 Error / White Screen After Login
Viewed 6775 times since Mon, Feb 29, 2016
Upgrading to NDO 3 after having been downgraded in newer versions of Nagios xi
Viewed 4322 times since Fri, Jan 15, 2021
Nagios xi - Last Check Time Not Updating
Viewed 20702 times since Tue, Jan 6, 2015