Smarts NCM: Restore migration script is failing with error: gzip: stdin: unexpected end of file; DataRestore.pl migration script failing; ERROR: Failed to extract the backup file
search cancel

Smarts NCM: Restore migration script is failing with error: gzip: stdin: unexpected end of file; DataRestore.pl migration script failing; ERROR: Failed to extract the backup file

book

Article ID: 331322

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


Unable to restore backed up image taken from old NCM server.

The following messages are observed when running a restore of a backed up image:
---------------------------------------------------------------------------------------------------------------------
root # $VOYENCE_HOME/tools/restore.pl /opt/ionix-ncm/data-image/backup-image-9.AS.tgz

Are you sure you want to restore from this backup? [y/n]
(All existing data will be replaced.)
y
ERROR: Failed to extract the backup file: /opt/ionix-ncm/data-image/backup-image-9.AS.tgz

root # tar ztvf /opt/ionix-ncm/data-image/backup-image-9.AS.tgz
-rw-r--r-- root/root        85 2014-04-30 02:00:02 INFO
-rw-r--r-- root/root 13179261770 2014-04-30 02:39:53 backup-image-9.AS-copy

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

Environment

VMware Smart Assurance - NCM

Cause

Filesystem is full. Filesystem was out of space so the restore script failed

Resolution

Increase size or free up some space in the existing filesystem on the disk resolves the issue