Dumping NBU Catalog Info....
I am needing a way to dump the Netbackup 7.1x catalog off to a CSV flat file so that it can be imported into an Oracle table for later reference.
The master backup server is slated to retire very soon and I want to keep all the info of the current catalog so that it can be referenced for historical data recovery for long retention backups. This is requested so that we won't need to merge 2 different catalogs on 2 different master backup servers.
I used to work a lot with Backup Express and it was fairly easy to dump the entire catalog out to a flat ascii file that could be referenced via grep or bringing that info into an Excel spreadsheet, or even bringing that info into an Oracle table for reference.
Just thinking it would be really nice to be able to dump the NBU catalog and have the media id, backup client name, expiration date, and a list of files to pick from....kind of like a brute force way of looking things up in the NBU GUI via the catalog.
Thoughts? Suggestions? Ideas?
Opps, me bing blind again ... you have NBU 7.1 so you don't need it.
In ...
/usr/open/netbackup/db/images/<client>/<time>/ dir contains multiple files ...
<policy_name>_<ctime>.<backup_level>
<policy_name>_<ctime>.<backup_level>.f
catstore (dir)
The first file is the header, effectively what would have been 'created' by cat_export
The .f file is a binary that contains the list of files in the backup, + TIR info if used
catstore dir contains info of the files in the backup if the catalog info for the backup is above a certain size.
Saving everything in /usr/openv/netbackup/db/images preserves that catalog information for the environment.
Saving output of bpimagelist may also be useful.