XI Object Notes Part 2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: XI Object Notes Part 2

Post by blariv »

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]#
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: XI Object Notes Part 2

Post by avandemore »

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:

Code: Select all

# bash -x /usr/local/nagiosxi/scripts/backup_xi.sh
Then send the full output.
Previous Nagios employee
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: XI Object Notes Part 2

Post by blariv »

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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: XI Object Notes Part 2

Post by ssax »

Please run these commands and post the entire output:

Code: Select all

tar zxf 1492709995.tar.gz
cd 1492709995
ls -l
ls -l mysql
ls -l pgsql

Thank you
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: XI Object Notes Part 2

Post by blariv »

attached
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: XI Object Notes Part 2

Post by ssax »

Please zip up and PM me your 1492709995/pgsql/nagiosxi.sql file.

Thank you
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: XI Object Notes Part 2

Post by blariv »

sent
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: XI Object Notes Part 2

Post by ssax »

Replied in PM
blariv
Posts: 190
Joined: Wed Sep 26, 2012 11:55 am

Re: XI Object Notes Part 2

Post by blariv »

Hi sorry but I did not get one
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: XI Object Notes Part 2

Post by ssax »

Please check again.
Locked