Forum Discussion

sandeepvshenoy's avatar
4 years ago

Display all backupids with Infinity Expiry

How can I display all the backupids with Inifinity Expiry . I have tried using bpimagelist but there are no option for expire date selection

  • bpimagelist has an -rl switch (Retention level) which would be set in the SLP.

    Example: bpimagelist -rl 9 will display all backupIDs that used an SLP with the first level of infinity.

    Unless they were put on hold using nbholdutil which has -list

    Example: nbholdutil -list which will display all backupIDs that are on hold as well as their hold names.

  • +1 Kudo to Laurence. That is the way I would do it as well.

    Please be aware of more retention leves besides 9 may have a infinity retention. Retention Level 9 is out of the box set to infinity.

    Check what has been configured with bpretlevel command before running bpimagelist

    https://www.veritas.com/support/en_US/doc/123533878-127136857-0/v123544048-127136857

    You can also check the retention levels by using the admin guide;

    NetBackup Administration Console, expand NetBackup Management > Host Properties > Master Server > Double-click on master server > Retention Periods