Forum Discussion

BharathAchar's avatar
4 years ago

Restore error 2850 and tar status code 5


Aug 20, 2020 11:21:28 AM - begin Restore
Aug 20, 2020 11:21:29 AM - Info bprd (pid=54413) Found (13,176,043) files in (83) images for Restore Job ID 11202933.xxx
Aug 20, 2020 11:21:55 AM - number of images required: 1
Aug 20, 2020 11:21:55 AM - media needed: 6N3681
Aug 20, 2020 11:21:55 AM - media needed: 6NE659
Aug 20, 2020 11:21:55 AM - media needed: 6NC931
Aug 20, 2020 11:22:27 AM - restoring from image ba5lsbk0204.iind.company.com_1579577042
Aug 20, 2020 11:22:27 AM - Info bpbrm (pid=57413) ba5lsbk0202.iind.company.com is the host to restore to
Aug 20, 2020 11:22:27 AM - Info bpbrm (pid=57413) telling media manager to start restore on client
Aug 20, 2020 11:22:27 AM - Info bpbrm (pid=57413) spawning a brm child process
Aug 20, 2020 11:22:27 AM - Info bpbrm (pid=57413) child pid: 57448
Aug 20, 2020 11:22:27 AM - connecting
Aug 20, 2020 11:22:28 AM - Info bpbrm (pid=57448) start tar on client
Aug 20, 2020 11:22:28 AM - Info tar (pid=57453) Restore started.
Aug 20, 2020 11:22:28 AM - connected; connect time: 0:00:00
Aug 20, 2020 11:22:28 AM - requesting resource  6NE659
Aug 20, 2020 11:22:31 AM - Info bptm (pid=57434) Waiting for mount of media id 6NE659 (copy 1) on server ba5lsbk0202.iind.company.com.
Aug 20, 2020 11:22:31 AM - started process bptm (pid=57434)
Aug 20, 2020 11:22:31 AM - mounting 6NE659
Aug 20, 2020 11:22:31 AM - granted resource  6NE659
Aug 20, 2020 11:22:31 AM - granted resource  HP.ULTRIUM6-SCSI.003
Aug 20, 2020 11:22:32 AM - Info bptm (pid=57434) INF - Waiting for mount of media id 6NE659 on server ba5lsbk0202.iind.company.com for reading.
Aug 20, 2020 11:23:39 AM - mounted 6NE659; mount time: 0:01:08
Aug 20, 2020 11:23:39 AM - Info bptm (pid=57434) 6NE659
Aug 20, 2020 11:23:39 AM - Info bptm (pid=57434) INF - Waiting for positioning of media id 6NE659 on server ba5lsbk0202.iind.company.com for reading.
Aug 20, 2020 11:23:39 AM - positioning 6NE659 to file 7
Aug 20, 2020 11:25:32 AM - positioned 6NE659; position time: 0:01:53
Aug 20, 2020 11:25:32 AM - begin reading
Aug 20, 2020 11:27:11 AM - Info tar (pid=57453) done. status: 0
Aug 20, 2020 11:27:11 AM - end reading; read time: 0:01:39
Aug 20, 2020 11:27:11 AM - Info bpbrm (pid=57413) media manager for backup id ba5lsbk0204.iind.company.com_1579577042 exited with status 0: the requested operation was successfully completed
Aug 20, 2020 11:27:11 AM - Info tar (pid=57453) done. status: 5 - the restore failed to recover the requested files
Aug 20, 2020 11:27:12 AM - restored from image ba5lsbk0204.iind.company.com_1579577042; restore time: 0:04:45
Aug 20, 2020 11:27:12 AM - Warning bprd (pid=54413) Restore must be resumed prior to first image expiration on Wed 20 Jan 2021 08:54:02 AM IST
Aug 20, 2020 11:27:12 AM - end Restore; elapsed time 0:05:44
Restore error  (2850)

15 Replies

  • Hi,

    Which restore type that you tried to restore?
    - file level, database, VMware or etc

    Same location or redirect restore?

    Show me the destination location?

    Netbackup version master/media and client?

    OS and version of NetBackup master/media and client?

    Thank you.

     

    • running with command line option, because I wanted to run it on a specific media server -

      its a standard restore and restoring to nfs path, same client client has acccess to destination nfs path.


      ba5lsbk0200> cat /tmp/changefile4
      change "/nfs/iind/disks/sdg74_0523/.snapshot/snapshot_for_backup_iind_disks_sdg74_0523/anemoori" to "/nfs/iind/disks/cmode_restore/TASK9464695_acharbha_restore"

      /usr/openv/netbackup/bin/bprestore -B -L /tmp/progress_log4 -C ba5lsbk0204.iind.company.com -D ba5lsbk0204.iind.company.com -S ba5lsbk0200.iind.company.com -disk_media_server ba5lsbk0202.iind.company.com -t 0 -p incfsv07a_aggr1_incfs07n03b_H_iind_disks_sdg74_0523 -s 01/21/20 08:50:00 -e 01/22/20 17:40:00 -R /tmp/changefile4 "/nfs/iind/disks/sdg74_0523/.snapshot/snapshot_for_backup_iind_disks_sdg74_0523/anemoori"

      /tmp/progress_log4 - shows it is writing but is not writing the data on desination and not even creating the destination path provided in /tmp/changefile4

       

  • Based on the logs one thing is for sure that the resore job is not chainging the destination path, so i would like to make sure the rename file do not have any black spaces, blank lines in it first.

    then see if you can make this restore work with simple path like /etc/hosts to /tmp though command line by creating new change file and not using the existing one.

    this will give us the idea if the issue with chage path file or the restore process it self.