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
restore_xi failed
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: restore_xi failed
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.
Re: restore_xi failed
Thanks slansing.
We'll be sure to restore to 64bit system.
-klee
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
Sounds good! That will save you a lot of time, we will keep this thread open for if you have issues.
Re: restore_xi failed
It's OK, please close this thread for now.
We know what we have to do.
-klee
We know what we have to do.
-klee