(DP) Support Tip: NDMP RESTORE: Error: Bad header block.

 
2 Likes

Symptom

An NDMP restore is failing with:

[Major] From: RMA-NDMP@server.domain "DeviceName"  Time: 3/17/2021 9:55:19 AM

      RESTORE: Error: Bad header block.

 

Investigation

Check the origin of the media. Have they been imported? If so, have they been imported in the correct (backup) order? And more importantly: on which Data Protector version have they been created? If it was DP 6.x or 7.x then there is a chance that the problem is caused by incorrect segment sequence numbers on the tape itself.


Solution

Contact support and request the "NDMPImport.pl"  script to get the imports done correctly. The workflow will be:

  • Export all media
  • Set OB2_GENSEQ_SM=/var/opt/omni/tmp/media.log in .omnirc (Linux)
       or: Set OB2_GENSEQ_SM=%DP_DATA_DIR%\tmp\media.log (Windows)
  • Run: perl NDMPImport.pl <device> slot1,slot2, ..., slotN
       (slots to be specified in order of the backup)
  • Comment out OB2_GENSEQ_SM in .omnirc again


This will import the tapes correctly and the restore can be tried again after this.

Koen

Labels:

Support Tip
Comment List
Related
Recommended