Creating a User-Defined Configuration File

You can create a user-defined configuration file to support automated backup equipment, such as stackers and jukeboxes. These devices automatically switch tapes during a dump. Jukeboxes can also automatically fetch the proper tapes for a restore operation. To handle the varying requirements of automated backup equipment, the user-defined configuration file calls executable routines that you can create to operate you backup equipment. Through the user-defined configuration file, you can select the level of automation you want the Tape Coordinator to use.

Each backup device on a Tape Coordinator machine can have its own user-defined configuration file. The file must reside in the dcelocal/var/dfs/backup directory and it must have a name in the form conf_tape_device, where tape_device specifies the relevant device. A separate file is required for each backup device.

When starting a Tape Coordinator, the butc program reads the conf_tape_device file and configures the Tape Coordinator based on the parameter settings it finds in the file. The configuration file parameters are the following:

MOUNT
Names a file that contains an executable routine. The routine can mount an automated backup device, such as a stacker or jukebox.

UNMOUNT
Names a file that contains an executable routine to perform tape unmount operations for an automated backup device.

ASK
Can be used to force all Backup System prompts to accept the default answers rather than query the operator. This does not affect the initial prompt to mount the first tape. This parameter is useful for fully automating the backup process.

AUTOQUERY
Can be used to disable the initial Tape Coordinator prompt to mount the first tape. This parameter is also useful for fully automating the backup process.

NAME_CHECK
Can be set to prevent the Backup System from checking tape names.

FILE
Can be used to direct the dump to tape or to a specified file.

The following sections define each of the parameters in detail. The topic entitled Sample User-Defined Configuration Files contains annotated sample scripts that illustrate typical routines to control automated backup equipment.

More:

The MOUNT Parameter

The UNMOUNT Parameter

The ASK Parameter

The AUTOQUERY Parameter

The NAME_CHECK Parameter

The FILE Parameter

Sample User-Defined Configuration Files