Forum Discussion

wellssh's avatar
wellssh
Level 4
13 years ago

BPEXPDATE command, any way to change retention of multiple BackupID's at once?

We are looking to use the BPEXPDATE comment to change the retention period for multiple Backup IDs simultaneously.  Does anyone know if there's a way to do this? I am aware that this can be done on...
  • mph999's avatar
    13 years ago

    Run it in a script - presumeing here they ill all have the same date

    Put backupids in file1

    cat file1 |while read LINE

    do

    bpexpdate -d <date > -backupid $LIINE -force

    done

    This is unix/ linux - not sure how to do it on windows, but someone should be able to help, or just google it ...

    Martin