Trouble Restoring to RHEL8 from RHEL7 Backup

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
KarenJ
Posts: 13
Joined: Thu Jul 26, 2018 12:36 pm

Trouble Restoring to RHEL8 from RHEL7 Backup

Post by KarenJ »

I need some assistance doing a restore. I am running Nagios XI 2024R1.1.1 on both systems. Our prod system is on RHEL7, our test system is RHEL8. I'm trying to restore the test box from a prod box backup. This is what I get:

[root@AWPPLCOLEDMOI02 ~]# /usr/local/nagiosxi/scripts/restore_xi.sh /store/backups/nagiosxi/1720614651.tar.gz

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
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

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
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

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
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
TS=1720618190
Extracting backup to /store/backups/nagiosxi/1720618190-restore...

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
In /store/backups/nagiosxi/1720618190-restore/xi-backup-1720614651-aIRZVl4Qu4yrEimVXssA...
Unable to find files to restore in /store/backups/nagiosxi/1720618190-restore/xi-backup-1720614651-aIRZVl4Qu4yrEimVXssA

Any ideas? Thanks!
Karen
gwesterman
Posts: 268
Joined: Wed Aug 23, 2023 11:29 am

Re: Trouble Restoring to RHEL8 from RHEL7 Backup

Post by gwesterman »

HI @KarenJ,

The first thing I would check is if the tar file is incomplete or corrupt. Did you run out of disk space during the backup?

I would also try running restore_xi.sh from the scripts directory.

Let us know what you find.

Thank you!
Post Reply