TSM ANS1245E The file has an unknown format When doing a RMAN restore

TSM ANS1245E The file has an unknown format

If the DBAs get the error “ANS1245E The file has an unknown format”

when doing a RMAN restore of a DB from one machine to another, check the version of the TSM client API ( not the TDP version ) is the same on both machines.

The easiest way to do this is to type dsmc on both machines

This is machine 1 where the TSM RMAN backup was done

$ dsmc
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
  Client Version 7, Release 1, Level 1.0

This is machine 2 where the DBAs were restoring the RMAN backup to

$ dsmc
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
  Client Version 6, Release 4, Level 2.0

The fix was to upgrade the TSM client on machine 2 to 7.1.1 to match that on machine 1. Once the client was updated the RMAN restore worked fine.

One thought on “TSM ANS1245E The file has an unknown format When doing a RMAN restore”

  1. if the restore is for same machine
    then what we need to do it….
    failed: 2018-01-02 05:19:15 2018-01-02T05:19:14+00:00 P000617 160b54ea364 ERROR RECOVERY INQUIRE finished with error: [449] recovery strategy could not be determined, [110507] Backint exited with exit code 2 instead of 0. console output: Data Protection for SAP HANA(R) – Version 7, Release 1, Modification 3.0 for Linux x86_64 – Build: 710 compiled on Jun 16 2015 (c) Copyright IBM Corporation, 1996, 2015, All Rights Reserved. #SOFTWAREID “backint 1.05” “IBM Tivoli Storage Manager for Enterprise Resource Planning – Data Protection for SAP HANA(R) 7.1.3.0” BKI2026E: Unexpected exception in handler: ANS1245E (RC122) The file has an unknown format. (rc=122).. BKI9300E: Additional support information: Aborting ‘send’ operation. See previous error. , [110514] Backint terminated successfully without connect

Leave a Reply

Your email address will not be published. Required fields are marked *