bpexpdate expire disk images promote tape images to primary
NBU 7.6.0.3 on RedHat Master
Hello Forum,
Have a large number of disk backup images that were manually written to tape some time ago. I've confirmed all the disk backup images are the Primary copy and have a duplicate copy residing on tape.
I have the valid list of backup images that reside both on tape and disk and can use this list for bpexpdate, but am not sure how to safely expire the disk images only. So the plan is to bpexpdate the disk backup images from the disk storage unit and then promote the tape backup images to be the primary copy. Wanted to check with the forum to confirm the bpexpdate command syntax and options. Suggestions ?
Thanks
---------------------------------------
Currently using SLPs to do this automatically for current backup images, and have been using vault to duplicate older disk backup images to tape (using the expire option), but the above are backup images that were manually written to tape with no disk expirations made.
All disk images should be copy number 1, right?
Tape copies then copy number 2?If you are 100% sure, you can add the image-id's to a text file and write a script to loop through the list and expire copy 1.
This will automatically promote the remaining copy (2) to primry.Something like:
bpexpdate -backupid <backup_id> -d 0 -copy 1
I agree with Marianne,
I add, if you are 100% sure you can add also -force to prevent confirm for any image expiration.
regards