Page 2 of 2

Re: Error after migration

Posted: Tue Sep 10, 2019 10:00 am
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

Re: Error after migration

Posted: Tue Sep 10, 2019 1:01 pm
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

Re: Error after migration

Posted: Tue Sep 10, 2019 1:48 pm
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!

Re: Error after migration

Posted: Tue Sep 10, 2019 3:06 pm
by mbellerue
Excellent, glad to hear it's working now! Closing thread.