09-11-2017 01:56 AM
Hi Guys,
Good Day.
I am working on Veritas Netbackup 7.7.3.
How to expire MSDP backup images: Policy type: "VMware" and enabled "Use Accelerator" feature Schedule Type "Everyday full backup"
scenario: when some of HOST MSDP backup images were no longer required for certain dates
1. Command or GUI to Display backup images available for this disk (Ex: Media ID "@aaaab")
2. Command or GUI to Display date expiration on a disk image (Ex: Media ID "@aaaab")
3. Command or GUI to expire particular client_name in the Media ID (Ex: Media ID "@aaaab"
Thank you for your assistance in this matter.
Regards,
Billvel.
09-11-2017 06:11 AM - edited 09-11-2017 06:11 AM
Hello
Did you try bpexpdate - the normal command used to expire backup images...?? as it does not really matter from what media you do expire backup image - expiration is expiration thats all...
Please read from Admin guide for NBU commands about this one: NetBackup Commands Reference Guide
http://www.veritas.com/docs/000108088
all available here https://sort.veritas.com/documents/doc_details/nbu/7.7.3/Windows%20and%20UNIX/ProductGuides/
09-11-2017 08:03 AM - edited 09-11-2017 08:05 AM
The command you are looking for is bpimmedia.
With the right combo of -policy -sl , -t & -dp you should be able to specify both disk pool , vmware policy type and schedule used.
Sorry - No way to specify if "use accelerator" is check marked in the policy or not using bpimmedia
09-12-2017 12:15 AM
Hi,
Thanks for your update. i triyed bpexpdate it desen't hep, could you please share me the exact syntax for the follwoing:
1. Command or to Display backup images available for this disk (Ex: Media ID "@aaaab")
2. Command or to Display date expiration on a disk image (Ex: Media ID "@aaaab")
3. Command or to expire particular client_name in the Media ID (Ex: Media ID "@aaaab"
Regards,
Billvel.
09-12-2017 12:53 AM
Hi Billvel,
The commands that Quebek and Nicolai gave will help you do what you want, but if you are having trouble with those (Note: Sometimes it can can a bit of trial and error to get the parameters and switches correct), have you tried using the Catlog from within the GUI?
Hope this helps,
Steve
09-13-2017 12:55 AM
We are trying to give you the base commands so that you can look them up and figure out for yourself which options to use in order to accomplish what you need.
bpimmedia command usage: https://www.veritas.com/support/en_US/article.000118598
1. There is no way to list images for disk-type media-id (e.g. "@aaaab").
For MSDP, you can list images for the disk type (-dt disk_type) or disk pool name (-dp disk_pool_name)
Herewith a forum discussion where you can see what the output looks like. You will notice that image-id's as well as expiration dates can be seen:
https://vox.veritas.com/t5/NetBackup/bpimmedia-output/td-p/300207
2. See above.
3. You cannot expire images based on client-name. You need to extract image-id's from bpimmedia and then expire the image-id's.
If all images for specific client need to be expired, easiest is to list images for specific client with bpimagelist (with start and end dates to catch all images).