Forum Discussion

sugarboy's avatar
sugarboy
Level 4
13 years ago

What is the different between Image expiry and delete?

Hi All, In Netbackup what is the difference between Image expiry and Image delete? i.e. bpexpdate and nbdelete? Is there a chance that even after expiry of image it still exists in the database...
  • Andy_Welburn's avatar
    13 years ago

    From the man pages:

    bpexpdate - change expiration date of backups in image catalog and media in media catalog

    nbdelete - remove deleted fragments from disk volumes

    It transpires that bpexpdate actually calls nbdelete:

    Deleting backup images
    http://www.symantec.com/business/support/index?page=content&id=HOWTO36342

    - which states that you can use the -notimmediate option to "prevent[s] bpexpdate from calling the nbdelete command, which deletes the image."

    So, following that through, the bpexpdate commmand sets the expiration of the images & nbdelete does the deletion.