NagiosXI Restore_XI
Posted: Tue Oct 16, 2012 9:55 am
I have a VM running NagiosXI 2011 and have created a backup with backup_xi, I have just downloaded the latest 2012 version of Nagios XI and scp'd the file over to the new box, when I try to restore_xi the backup zip file I get the following message
[root@localhost scripts]# ./restore_xi.sh /store/backups/nagiosxi/1350396800.zip
gzip: stdin has more than one entry--rest ignored
tar: Child returned status 2
tar: Error is not recoverable: exiting now
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
arch: invalid option -- 'm'
Try `arch --help' for more information.
Error detecting architecture.
If I copy the file over to a Windows box I can open the file with Winzip happily and can also use "unzip" on the Nagios server and it extracts the contents without issue.
[root@localhost scripts]# ./restore_xi.sh /store/backups/nagiosxi/1350396800.zip
gzip: stdin has more than one entry--rest ignored
tar: Child returned status 2
tar: Error is not recoverable: exiting now
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
arch: invalid option -- 'm'
Try `arch --help' for more information.
Error detecting architecture.
If I copy the file over to a Windows box I can open the file with Winzip happily and can also use "unzip" on the Nagios server and it extracts the contents without issue.