Forum Discussion

Akh2323's avatar
Akh2323
Level 3
7 years ago

Restore data from another site netbackup

I am testing restore from one site to another. i backed up a server in one location in tape and loaded it is another location. However when i tried to import it in another location first phase it only shows below logs .

 

19:04:26 INF - Created bpimport process, pid: 292
Import phase 1 started 05/02/2018 19:04:26
19:04:26 INF - Create DB information for media id XXXXX.
19:04:26 INF - Initiation of bptm process to phase 1 import media id XXXXX was successful.

I also observed that kilobytes in tape is 0. I am not sure what has happened. When i verify in primary site catalogs it shows that backup image exists in this tape .

Has anyone faced this scenario? 

 

9 Replies

  • Hello,

    import has two phases. First one imports just image header information, and the second one imports image content information.

    In Catalog section in Admin Console, first is under "Initiate Import", and second is under "Import".

    Image content is browsable and restorable after both phases were done.

    Regards

    Michal

    • Akh2323's avatar
      Akh2323
      Level 3

      Hi Michael, 

      First phase completed. The second phase fails with 191 error. Data is written to the encryption pool and keys have been imported in destination master server.

       

      Job logs :

      May 6, 2018 9:40:20 AM - Info bptm (pid=268171) start
      May 6, 2018 9:40:20 AM - started process bptm (pid=268171)
      May 6, 2018 9:40:20 AM - Info bptm (pid=268171) reading backup image
      May 6, 2018 9:40:21 AM - Info bptm (pid=268171) Waiting for mount of media id XXXXXX (copy 1) on server <media_server>
      May 6, 2018 9:40:21 AM - started process bptm (pid=268171)
      May 6, 2018 9:40:21 AM - mounting XXXXXX
      May 6, 2018 9:40:22 AM - Info bptm (pid=268171) INF - Waiting for mount of media id XXXXXX on server <media_server> for reading.
      May 6, 2018 9:41:01 AM - mounted XXXXXX; mount time: 0:00:40
      May 6, 2018 9:41:01 AM - Info bptm (pid=268171) XXXXXXL
      May 6, 2018 9:41:02 AM - Info bptm (pid=268171) INF - Waiting for positioning of media id XXXXXX on server <media_server> for reading.
      May 6, 2018 9:41:02 AM - positioning XXXXXX to file 2
      May 6, 2018 9:41:02 AM - positioned XXXXXX; position time: 0:00:00
      May 6, 2018 9:41:02 AM - begin reading
      May 6, 2018 9:56:03 AM - Error bptm (pid=268171) cannot read image from media id XXXXXX, drive index 0, Input/output error
      May 6, 2018 9:56:03 AM - Warning bptm (pid=268171) TapeAlert Code: 0x15, Type: Warning, Flag: CLEAN PERIODIC, from drive IBM.ULTRIUM-TD6.002 (index 0), Media Id XXXXXX
      May 6, 2018 9:56:04 AM - Info bptm (pid=268171) EXITING with status 85 <----------
      May 6, 2018 10:06:39 AM - begin Import
      May 6, 2018 10:06:41 AM - requesting resource XXXXXX
      May 6, 2018 10:06:41 AM - granted resource XXXXXX
      May 6, 2018 10:06:41 AM - granted resource IBM.ULTRIUM-TD6.002
      May 6, 2018 10:22:23 AM - Error bpimport (pid=9452) Import of policy <policy_name>, schedule Weekly_Full (hostname_1524589090) failed, media read error.
      May 6, 2018 10:22:24 AM - Error bpimport (pid=9452) Status = no images were successfully processed.
      May 6, 2018 10:22:24 AM - end Import; elapsed time 0:15:45
      no images were successfully processed (191)

      • Marianne's avatar
        Marianne
        Level 6

        This seems to be the reason for the failure:

        TapeAlert Code: 0x15, Type: Warning, Flag: CLEAN PERIODIC, from drive IBM.ULTRIUM-TD6.002 (index 0)

        Do you have cleaning tapes in the robot?
        Maybe do a manual clean and try again?

        Please ensure that bptm log folder exists and logging level for bptm is set to 3.