cancel
Showing results for 
Search instead for 
Did you mean: 

incomplete restore 2850

papazolla
Level 3

netbackup 7.6.0.4 on RHEL 6.10

Hi,

I want to restore a backup from a decommissioned server (/home/user1/.ssh) to master server's /tmp

but it always failed with "1: (2850) Failed to get status code information"

Detailed status:

08/22/2022 07:38:49 - begin Restore
08/22/2022 07:38:49 - number of images required: 1
08/22/2022 07:38:49 - media needed: NGN665
08/22/2022 07:38:59 - Warning bprd (pid=52907) Restore must be resumed prior to first image expiration on Sun Mar 5 15:00:46 2023
08/22/2022 07:38:59 - end Restore; elapsed time 0:00:10
Failed to get status code information (2850)

Tape NGN655 was originally attached to tape library that directly connected to media server1. Since it is now unable to be brought up, I changed tape ownership to media server 2 after moved that tape to media server 2's tape library. 

I had rebooted master server and still same error occurred. 

9 REPLIES 9

quebek
Moderator
Moderator
   VIP    Certified

Hey

Could you please post from activity monitor the whole job details? There are some PIDs of daemons involved - I can't recall from top of my head... their logs needs to be reviewed to learn more about the issue...

maybe it is tar, bptm, bpbrm etc... make this master and media server to log with verbose = 5 and retry post details here...

DPeaco
Moderator
Moderator
   VIP   

I agree with @quebek 

If you could post the job details from the admin console, it would be helpful. You can change the host names in the text output if that is a problem posting those in the job details. We just need to look at the job flow and processes in the detail output to see what it's complaining about.

Thanks,
Dennis

mediaserver03:/home/maintenance # grep BPTM_VERBOSE /usr/openv/netbackup/bp.conf
BPTM_VERBOSE = 5
mediaserver03:/home/maintenance # grep LOGLEVEL /usr/openv/lib/ost-plugins/pd.conf
LOGLEVEL = 10

------------
detailed status
------------
08/23/2022 02:31:11 - begin Restore
08/23/2022 02:31:11 - number of images required: 1
08/23/2022 02:31:11 - media needed: NGN665
08/23/2022 02:31:20 - Warning bprd (pid=46282) Restore must be resumed prior to first image expiration on Sun Mar 5 15:00:46 2023
08/23/2022 02:31:21 - end Restore; elapsed time 0:00:10
Failed to get status code information (2850)


------------
task progress
------------
Restore Job Id=2337916
Restore started 08/23/2022 10:31:10
10:31:20 (2337916.001) UTF - /home/user1/.ssh/id_dsa
10:31:20 (2337916.001) UTF - /home/user1/.ssh/id_dsa.pub
10:31:20 (2337916.001) UTF - /home/user1/.ssh/id_rsa
10:31:20 (2337916.001) UTF - /home/user1/.ssh/id_rsa_bak
10:31:20 (2337916.001) UTF - /home/user1/.ssh/known_hosts
10:31:20 (2337916.001) UTF - /home/user1/.ssh/publickey.asc
10:31:20 (2337916.001) UTF - /home/user1/.ssh/backup/
10:31:20 (2337916.001) Suspending the display of 1 additional messages for this image.

10:31:21 (2337916.xxx) INF - Status = Restore error.

--------------
media server bptm log
--------------
10:28:50.947 [227610] <2> SetMaxDataLimit: maximum data size: current=-1 max=-1
10:28:50.947 [227610] <2> initialize: fd values STDOUTSOCK=3 STDERRSOCK=4
10:28:50.948 [227610] <4> RedirectNBLoggerToLegacyLog: Setting up redirection of VxUL messages to legacy log
10:28:50.952 [227610] <4> RedirectNBLoggerToLegacyLog: Verbosity from VxUL configuration: 1
10:28:50.952 [227610] <4> RedirectNBLoggerToLegacyLog: logmsg verbosity set: 1
10:28:50.952 [227610] <2> bptm: INITIATING (VERBOSE = 5): -rptdrv -jobid -1660900154 -jm
10:28:50.952 [227610] <2> bptm: PORT_STATUS = 0x00000000
10:28:50.953 [227610] <2> main: Sending [EXIT STATUS 0] to NBJM
10:28:50.953 [227610] <2> bptm: EXITING with status 0 <----------
--------------

quebek
Moderator
Moderator
   VIP    Certified

Hey

Hmm that is all from job details? only bprd is being mentioned? 

What is bprd showing in this case - its on master.

Below from bprd of master server. Seems like it tried to contact the failed media server (mediaserver02) instead of mediaserver03

 

quebek
Moderator
Moderator
   VIP    Certified

Hello

yes this is correct

0:31:21.057 [46282] <2> bpcr_get_version_rqst: bpcd version: 07600004
10:31:21.082 [46282] <2> terminate_restore: EXIT STATUS 2850
10:31:21.082 [46282] <2> bprd: /usr/openv/netbackup/bin/userreq_notify restore master01 root
10:31:23.813 [46291] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 113 0x71
10:31:26.813 [46291] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 113 0x71
10:31:29.814 [46291] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 113 0x71
10:31:29.815 [46291] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED
status: FAILED, (10) SOCKET_FAILED; system: (113) No route to host; FROM 0.0.0.0 TO mediaserver02 192.168.64.34 bpcd VIA pbx
status: FAILED, (10) SOCKET_FAILED; system: (113) No route to host; FROM 0.0.0.0 TO mediaserver02 192.168.64.34 bpcd VIA vnetd
status: FAILED, (10) SOCKET_FAILED; system: (113) No route to host; FROM 0.0.0.0 TO mediaserver02 192.168.64.34 bpcd
10:31:29.815 [46291] <8> vnet_connect_to_bpcd: [vnet_connect.c:297] connect_to_service() failed 18 0x12
10:31:29.815 [46291] <2> local_bpcr_connect: Can't connect to client mediaserver02
10:31:29.815 [46291] <2> ConnectToBPCD: bpcd_connect_and_verify(mediaserver02, mediaserver02) failed: 25
10:31:29.815 [46291] <2> start_mpx_group: Can't connect to mediaserver02. Errno = 115: Operation now in progress
10:31:29.815 [46291] <2> job_monitoring_exex: ACK disconnect
10:31:29.815 [46291] <2> job_disconnect: Disconnected

 

I would do bpmedia -movedb -m NGN665 -newserver mediaserver03

and tried again...

it still failed with same error. 

# bpmedia -movedb -m NGN665 -newserver mediaserver03
requested media id is not assigned to this host in the EMM database

# bpmedialist -m NGN665
Server Host = mediaserver03

id rl images allocated last updated density kbytes restores
vimages expiration last read <------- STATUS ------->
On Hold
--------------------------------------------------------------------------------
NGN665 8 14 02/05/2022 16:25 03/05/2022 16:51 hcart3 470994170 0
14 03/05/2023 15:00 N/A
0

papazolla
Level 3

what I had tried so far

1. remove mediaserver02 for master server's properties -failed restore

2. FORCE_RESTORE_MEDIA_SERVER = mediaserver02 in bp.conf master server -failed restore

papazolla
Level 3

Solved by using media host override setting on master's host properties