Hi,
I know this is late in the post but I finally upgraded my 2012 environment to the latest and took a backup. I am not trying to restore it to the new XI server but am facing this error.
[root@nagiosxi nagiosxi]# /usr/local/nagiosxi/scripts/restore_xi.sh 1492709995.tar.gz
WARNING: you are trying to restore a OS 6 backup on a OS 7 system
Compiled plugins and other binaries as well as httpd configurations
will NOT be restored.
Are you sure you want to continue? [y/N] y
TS=1492719950
Extracting backup to /store/backups/nagiosxi/1492719950-restore...
tar (child): 1492709995.tar.gz: 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
[root@nagiosxi nagiosxi]#
XI Object Notes Part 2
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: XI Object Notes Part 2
Earlier I advised you use the Migrate from Core method as you are coming from such an old system. Are you sure you wish to continue with this path? We can fix this particular issue, but then you'd still have all that other work ahead of you. If you do wish to continue with this path, please run:
Then send the full output.
Code: Select all
# bash -x /usr/local/nagiosxi/scripts/backup_xi.shPrevious Nagios employee
Re: XI Object Notes Part 2
everthing is migrated to the new system already. I just want the objects notes that are in the database.
I upgraded our original system to the latest XI version. too a backup of that then am trying to restore on the new system but getting that error.
I thought that is what was needed to get the object notes from the old now upgraded db.
I upgraded our original system to the latest XI version. too a backup of that then am trying to restore on the new system but getting that error.
I thought that is what was needed to get the object notes from the old now upgraded db.
Re: XI Object Notes Part 2
Please run these commands and post the entire output:
Thank you
Code: Select all
tar zxf 1492709995.tar.gz
cd 1492709995
ls -l
ls -l mysql
ls -l pgsqlThank you
Re: XI Object Notes Part 2
attached
You do not have the required permissions to view the files attached to this post.
Re: XI Object Notes Part 2
Please zip up and PM me your 1492709995/pgsql/nagiosxi.sql file.
Thank you
Thank you
Re: XI Object Notes Part 2
Replied in PM
Re: XI Object Notes Part 2
Hi sorry but I did not get one
Re: XI Object Notes Part 2
Please check again.