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 - MSSQL Wizards - Adaptive Server connection failed
Viewed 2571 times since Thu, Aug 3, 2017
Nagios XI - Defining Global Environment Variables
Viewed 2447 times since Thu, Mar 17, 2016
Nagios XI - Configuration Applies, but still get "Configuration File Is Out Of Date" Error
Viewed 924 times since Tue, Jan 26, 2016
XI 5.4 monitoring engine not running
Viewed 2265 times since Mon, Feb 6, 2017
Nagios XI - ERROR: unable to open include file: conf.d/*.cfg
Viewed 1484 times since Sun, May 29, 2016
Nagios XI - Profile Build Failed
Viewed 2690 times since Tue, Aug 2, 2016
Nagios XI - Notifications Not Sending In XI 5.3.0
Viewed 1081 times since Tue, Oct 4, 2016
Nagios XI - Can’t Log Into The Web Interface
Viewed 15479 times since Tue, Jan 27, 2015
Nagios XI - Problems Using Nagios XI With Proxies
Viewed 3563 times since Mon, Jan 25, 2016
Nagios XI - SourceGuardian Errors 2009R1.2C
Viewed 1016 times since Tue, Feb 2, 2016