cancel
Showing results for 
Search instead for 
Did you mean: 

failed to change retention of backup image using bpexpdate

[root@PMLPMSDPINF01 ~]# /usr/openv/netbackup/bin/admincmd/bpexpdate -recalculate -backupid PROD-PCDC_1622446947 -d 05/31/2022
Are you SURE you want to recalculate expiration dates on all images
that meet the following criteria:
backupid PROD-PCDC_1622446947

to expire on Tue 31 May 2022 12:00:00 AM PS
Continue?(y/n)y
unexpected message received

6 Replies

Re: failed to change retention of backup image using bpexpdate

Hey

Anything in logs under /usr/openv/netbackup/logs/admin/

??

Maybe you will have to change verbose = 5 in bp.conf and do bprdreq -rereadconfig and execute this bpexpdate again

Re: failed to change retention of backup image using bpexpdate

hi @mdderecho 

From where are you running the bpexpdate command ?

Syntax looks correct - it should be working. Is the Netbackup environment running as it should ?

also create directory /usr/openv/netbackup/logs/admin and see what info that command generate in the directory.

/Nicolai

Re: failed to change retention of backup image using bpexpdate

Hi guys, thanks for reply, herein the logs I got in /usr/openv/netbackup/logs/admin/root.053121_00001.log

[root@PMLPMSDPINF01 admin]# tail root.053121_00001.log
17:02:27.191 [58181] <2> dump_proxy_info: ----process_hint_reason: a known master server is the connected peer
17:02:27.193 [58181] <2> logconnections: PROXY CONNECT FROM 10.7.231.146.35496 TO 10.7.231.147.1556 fd = 10
17:02:27.193 [58181] <2> logconnections: BPDBM CONNECT FROM 127.0.0.1.49417 TO 127.0.0.1.40118 fd = 10
17:02:27.212 [58181] <2> isDONE: reply DONE 43 <?xml version="1.0" encoding="utf-8"?><StatusMsgDoc><StatusMsg NBUStatus="43" Severity="2" VXULoid="271" VXULtid="43"><MsgString>unexpected&#32;message&#32;received</MsgString></StatusMsg></StatusMsgDoc>
17:02:27.212 [58181] <2> isDONE: reply DONE 43
17:02:27.212 [58181] <2> db_startrequest: protocol error 1
17:02:27.212 [58181] <16> db_begin: db_startrequest() failed: unexpected message received
17:02:27.213 [58181] <2> db_IMAGE: db_begin() failed: unexpected message received
17:02:27.213 [58181] <16> bpexpdate: db_IMAGE() failed: unexpected message received (43)
17:02:27.221 [58181] <2> main: EXIT STATUS 43: unexpected message received

Re: failed to change retention of backup image using bpexpdate

Hi

Hmmm this log is too short... but it does not look good. please provide more. Also I would look into bpdbm logs and bprd to check out there...

Also it would not harm to run nbcc in order to check catalog consistency.

https://www.veritas.com/support/en_US/article.100020209?profileURL=https%3A%2F%2Fvam-profile.veritas...

https://www.veritas.com/support/en_US/doc/15263389-130536298-0/v48054848-130536298

https://www.veritas.com/support/en_US/downloads/update.UPD639818

 

Re: failed to change retention of backup image using bpexpdate

Try checking if NBDB is up and running using nbdb -ping

 

Re: failed to change retention of backup image using bpexpdate

hi guys, thanks for helping, Im now able to change the expiration date via master server. Thank you again.