Catalog import from OST Duplicate, sort of works
Hi,.
I am using RHEL Master server in two locations, one in London (main DC) and one in Croydon (DR Site) both are running NBU7.5.0.7, the Croydon site has a dual boot disk so I can bring this up with the same details as the main DC Master except for the IP.
Backups are taken using the HP B6200 StoreOnce D2D system using OST and uses SLP's to create duplicates of the data between both sites, this includes the catalog.
Having stopped NBU and downed the DC Master and starting the DR server as the DC and configuring the Storage Servers/Disk Pools & Storage Units I get some issues when importing the catalog, when I run nbcatsync –sync_dr_file <disaster recovery file> this returns an error 13 message, not sure why...also when I run the bprecover -wizard -copy 2 this appears to work, it creates all the policies, clients, devices etc but when I try a restore nothing is shown, I then look in the catalog GUI for any entries for the StoreOnce backups it only retrieves the catalog backup, even if I select copy 2, I have tried to make this as the primary and import but I get the same response, strange thing is all the images can be located in the db folder, it is as if the database is not being updated correctly.
I have even tried the following:
bpimport -create_db_info -stype hp-StoreOnceCatalyst -dp BFB-HPUX-REPSTORE -dv BFB-HPUX-REPSTORE
bpimport -create_db_info -stype hp-StoreOnceCatalyst -dp BFB-HPUX-REPSTORE -dv BFB-HPUX-REPSTORE
cat_export -client bfbackup.ipcmedia.com
Go to the following directory to find the DR image file
Hot_Catalog_Backup_1392595286_FULL:
/usr/openv/netbackup/db.export/images/bfbackup.ipcmedia.com/1392000000
Open Hot_Catalog_Backup_1392595286_FULL file and find the BACKUP_ID
(for example: bfbackup.ipcmedia.com_1392595286).
bpimport [-server name] -backupid bfbackup.ipcmedia.com_1392595286
bprestore -T -w [-L progress_log] -C bfbackup.ipcmedia.com -t 35 -p Hot_Catalog_Backup -X -s 1392595286 -e 1392595286 /
Not sure what they mean about this bit --- Run the BAR user interface to restore the remaining image database
Again this seems to create the images in the directories and all the policy info but I cannot see any of the data from the Catalog or Restore GUI
Any help would be appreciated
Obviously this would be easier when/if HP start getting AIR working
Kev
Hi Kevin,
nbdevquery gives the media id
nbdevquery -stype hp-StorO -listdv
nbdevquery -stype hp-StorO -listdp
(You might need to put in the storage server name and perhaps a -L or -U t get the right output format (apologies, don;t have aa machine to hand to try it on).
If you've run the full catalog recovery, it should have at the very least restored enough to allow manual restore of the rest (which under certain conditions is as per the manual).
The files you are after restoring are in /usr/openv/netbackup/db/images so you use the BAR GUI as normal to serach these backups, with the exception that you have to set the policy type you are browsing to nbu-catalog (else nothing will be found).
If you look under ...db/images/<master name> you should see some dirs eg . 1391000000 1392000000 etc ... these should contain the catalog info for the catalog backups, and are what you want to browse, to allow the restore of the other catalog files (of non catalog backups). You would restore eveything in db/images back to where it came from.
Regarding nbcatsync, I'd have to check which logs it writes to for certain, but I'd start with admin and bpdbm.
Martin