Forum Discussion

mdderecho's avatar
mdderecho
Level 3
5 years ago

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

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

  • 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

  • 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

    • mdderecho's avatar
      mdderecho
      Level 3

      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

      • X2's avatar
        X2
        Moderator

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