dismount_cmd

In this parameter the dismount command for the automatic dismounting of a tape is defined. For backup_dev_type = tape_box the command is called locally; for backup_dev_type = pipe_box it is called on a machine defined in the parameter remote_host.

Syntax: dismount_cmd = <cmd>

Default: none (for backup_dev_type = tape_box | pipe_box this parameter must be defined in the initialization profile).

The dismount command uses its own options:

dismount_cmd = "<dismount_cmd> $ $ [ $ ] "

<dismount_cmd>: Command name

The command name might be, for example, dismount.csh.

Do not forget to enclose the parameter specifications composed of several values in double quotes. The $ characters stand, in the following order, for:

...

       1.      The name of the database to be backed up

       2.      The addresses of the tape devices

       3.      Optional: name of a file for additional configuration parameters (parameter: mount_par_file)

The dismount or mount command must be created by the user in the form of a program, a shell script or a batch file.

If the dismount command has been performed successfully the exit code 0 is displayed. No other output is displayed. The only possible outputs not recognized as errors are messages beginning with the characters #INFO.

 

See also:

Backup with Automatic Tape Changers

Mount and Dismount Commands

mount_cmd

mount_par_file