restore_xi failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
klee
Posts: 147
Joined: Fri Apr 04, 2014 2:31 pm

restore_xi failed

Post by klee »

I'm getting these errors when testing restore of tar.gz file archived by backup_xi.

The source machine is 64bit and the destination is 32bit. Is this a known issue?

Thanks,

-klee

-------------------------------------------------------------------------------------------------------------------------------

[root@bcsnsnagiostest1 ~]# /usr/local/nagiosxi/scripts/restore_xi.sh nagiosxi.1403755141.tar.gz
WARNING: you are trying to restore a 64-bit backup on a 32-bit system
Plugins and other binaries will NOT be restored.

Are you sure you want to continue? [y/N] y
TS=1403759428
Extracting backup to /store/backups/nagiosxi/1403759428-restore...
tar (child): nagiosxi.1403755141.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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: restore_xi failed

Post by slansing »

Yes, you are restoring from a 64 bit server to 32 bit. It's not an issue, it's a matter of bits and bytes :) You will not be able to restore some portions of your backup due to trying to put it on a 32-bit system as noted below. There is a warning about this that is part of the restore_xi.sh script so yes, we do know about the implications of this. You will also have trouble restoring your RRD files (contain performance data) to a different architecture. My suggestion, is to restore to a 64 bit system. If you are really downgrading to a 32-bit one, then you will have a bit of work ahead of you with turning it into an XI server with the old data, which we can help you with.
klee
Posts: 147
Joined: Fri Apr 04, 2014 2:31 pm

Re: restore_xi failed

Post by klee »

Thanks slansing.

We'll be sure to restore to 64bit system.

-klee
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: restore_xi failed

Post by slansing »

Sounds good! That will save you a lot of time, we will keep this thread open for if you have issues.
klee
Posts: 147
Joined: Fri Apr 04, 2014 2:31 pm

Re: restore_xi failed

Post by klee »

It's OK, please close this thread for now.

We know what we have to do.

-klee
Locked