Classification of BR*Tools

BR*Tools can be classified into 1.Functional Programs, 2.Help Programs, 3.Batch Programs and 4.Interactive Programs. Purpose of these programs are defined in following paragraphs.

Functional programs

Functional programs are the programs performing administrative actions on the database. The functional programs are BRBACKUP, BRARCHIVE, BRRESTORE, BRRECOVER, BRSPACE and BRCONNECT.

Help programs

Help programs are BRTOOLS and BRCONNECT. They help in following two ways:

  1. From BRTOOLS, all functional programs can be called interactively. BRTOOLS will offer menus to select the action, enter parameters and options and then calls the functional
    programs with the corresponding options and parameters.
  2. BRTOOLS and BRCONNECT are also called internally by other tools: They perform certain actions during backup and restore (BRTOOLS as a help tool for BRBACKUP, BRARCHIVE and BRRESTORE) and monitor the database during a backup (BRCONNECT, internally called by BRBACKUP).

Batch Programs

BRBACKUP, BRARCHIVE, BRRESTORE and BRCONNECT are the batch programs. They do not have their own menus built in. The functionality of these programs are selected exclusively by options. We have to call BRTOOLS to use them interactively. After calling BRTOOLS, We can select actions, options and parameters from the menu provided by BRTOOLS.

Interactive Programs

BRRECOVER, BRSPACE and BRTOOLS are called interactive tools. These programs functionality is menu driven. That means we can select options from the menus provided after selecting a function to perform. We can also call these programs from the command directly. When we call these programs from command line following points must be noted

  • When we call BRSPACE interactive program from command line without specifying any option, Information about the status of database instance <DBSID> will be displayed. In the same way, When we call BRRECOVER from the command line without specifying any option, complete database recovery main menu will be displayed.
  • •When a function of BRSPACE or recovery type of BRRECOVER was specified on the command line and enter, the corresponding main menu will be displayed and further input can be given from the menus available.
  • When the further options specified are not complete, missing options and parameters must be selected from the menu.
  • We have to call the interactive program with the option -c to force an interactive program to run in the batch mode. The the interactive program will be started in batch mode. If mandatory options
    were not specified or any option or parameter is wrong, the tool will end with an error message.
Leave a Comment