07-14-2008 04:24 AM
NetBackup 6.0MP4 - Windows:
How could i manually delete backup images from disk storage units and catalog even when the backups are not expired?
Solved! Go to Solution.
07-15-2008 02:40 PM
You can use bpimagelist command to find the backup Id/image name or media id for a given backup id/image.
USAGE: bpimagelist [-media] [-l|-L|-U|-idonly]
[-d mm/dd/yyyy HH:MM:SS] [-e mm/dd/yyyy HH:MM:SS] [-hoursago hours]
[-keyword "keyword phrase"]
[-client client_name] [-server server_name]
[-backupid backup_id] [-option option_name]
[-policy policy_name] [-pt policy_type]
[-rl retention_level]
[-sl sched_label] [-st sched_type]
[-M master_server...] [-v]
07-14-2008 11:21 AM
Best way is to expire the images using bpexpdate command.
bpexpdate: -m <media id> -d <mm/dd/yyyy HH:MM:SS | 0 | infinity>
[-host <name>] [-force] [-nodelete] [-notimmediate]
[-M <master_server,...,master_server>]
bpexpdate: -backupid <backup id> -d <mm/dd/yyyy HH:MM:SS | 0 | infinity>
[-client <name>] [-copy <number>] [-force] [-nodelete] [-notimmediate]
[-M <master_server,...,master_server>]
07-14-2008 07:08 PM
If you delete the images manualy you will create a missmatch DB between mediaDB, imageDB and volDB which in case of migration or catalog DR restore can result in a corruption, use bpexpdate always for this cases.
regards
07-15-2008 06:26 AM
Thanks for your answers!
I know the bpexpdate command.
But how can i determine the media or backup ID of the images to be able to expire them using bpexpdate?
07-15-2008 02:40 PM
You can use bpimagelist command to find the backup Id/image name or media id for a given backup id/image.
USAGE: bpimagelist [-media] [-l|-L|-U|-idonly]
[-d mm/dd/yyyy HH:MM:SS] [-e mm/dd/yyyy HH:MM:SS] [-hoursago hours]
[-keyword "keyword phrase"]
[-client client_name] [-server server_name]
[-backupid backup_id] [-option option_name]
[-policy policy_name] [-pt policy_type]
[-rl retention_level]
[-sl sched_label] [-st sched_type]
[-M master_server...] [-v]