Error after migration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jeffersjw
Posts: 32
Joined: Tue Aug 27, 2013 9:29 am

Re: Error after migration

Post by jeffersjw »

Now I get this error:

/usr/local/nagiosxi/scripts/restore_xi.sh /tmp/1568125109.tar.gz

WARNING: you are trying to restore a el6 backup on a el7 system
Compiled plugins and other binaries as well as httpd configurations
will NOT be restored.

You will need to re-download the Nagios XI tarball, and re-install
the subcomponents for this system. More info here:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

TS=1568126841
Extracting backup to /store/backups/nagiosxi/
tar (child): Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
In /root...
Unable to find files to restore in /root
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Error after migration

Post by mbellerue »

Can you put your backup file in /store/backups/nagiosxi/ and try it again from that location?

Code: Select all

/usr/local/nagiosxi/scripts/restore_xi.sh /store/backups/nagiosxi/1568125109.tar.gz
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
jeffersjw
Posts: 32
Joined: Tue Aug 27, 2013 9:29 am

Re: Error after migration

Post by jeffersjw »

That worked and the restore was successful with the OS restore. I had used my own copy of Centos instead of the one from Nagios' site.

Thanks for your help!
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Error after migration

Post by mbellerue »

Excellent, glad to hear it's working now! Closing thread.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked