To configure the catalog backup:
bpsyncinfo -server MASTER -id1 A10001 -d1 hcart -id2 A10002 -d2 hcart
The command above is used to define what tapes to use. It is not the command for running the catalog backup. The command populates the info that you normally see in the GUI for defining media to be used. The first time the catalog backup is run it will use the first tape defined. The second time a catalog backup is run it will use the second tape defined. The third time a catalog backup is used it will overwrite the first tape used and so on....Unless you are removing the tapes to send to an offsite location (highly recommended) the command will only need to be run once. Make sure that the media you select does not have a data header on it. Use vmquery -m <mediaID> and check the line called status, 0x0=data tape whil 0x1 = catalog tape. The tape also must be in the Netbackup volume pool.
Media type could possibly be hcart, hcart2, hcart3. It depends on how many 1/2 inch cartridge types you have in your environment and how you have them defined. But it will definitely be one of the three.
Now here is how to actually run a catalog backup:
To start the catalog backup from the command line, use the command:
#/usr/openv/netbackup/bin/admincmd/bpsyncinfo -M <master_server> -doBackup
The above procedure is similar for Windows NT/WIN2K except for the paths and the backslashes (\) to replace the fowardslashes.
Bob Stump
Just because the Veritas documentation states a certain thing does not make it a fact