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 - Warning: Duplicate definition found for contact ’xi_default_contact’
Viewed 2845 times since Tue, Jan 26, 2016
Nagios XI - Event Data Is Stale
Viewed 2826 times since Wed, Jan 27, 2016
API changes in Nagios XI 5.7
Viewed 881 times since Tue, Feb 23, 2021
ERROR: Please add the ’Optional’ channel to your Red Hat systems subscriptions
Viewed 17146 times since Tue, Jan 26, 2016
CCM says unapplied changes exist, but none listed
Viewed 2706 times since Mon, Feb 27, 2017
Nagios XI - Crashed Database Tables
Viewed 40544 times since Tue, Jan 27, 2015
Nagios XI - Can’t Log Into The Web Interface
Viewed 32595 times since Tue, Jan 27, 2015
Nagios Core - Nagios did not exit in a timely manner
Viewed 3751 times since Wed, Jan 27, 2016
Pages Not Displaying Correctly
Viewed 3785 times since Mon, Jan 25, 2016
Nagios XI - Issues with mod_gearman and Performance Data Newlines: "\n"
Viewed 2149 times since Tue, Feb 2, 2016