Oracle Secure Backup maintains several internal variables that control various aspects of its operation. These variables are described in this appendix. The variable list is also available through online help with the following command:
obtool help var
This chapter describes the following variables:
Values
Displays exact directory contents for selected backups.
Displays live file-system snapshots on hosts accessed through Network Data Management Protocol (NDMP).
Use the drive
variable to specify a default tape drive for tape library operations.
Oracle Secure Backup uses the value of this variable if no --drive
drive-name
option is provided to tape library commands that require a tape drive specification.
Values
Specifies the name of a tape drive. Note that setting this variable also sets the library variable to the name of the tape library that contains the specified tape drive. By default this variable is not set.
Use the errors
variable to set the level of detail for error messages. If the variable is not set (default), then the level of detail is set by the --longerrors
/-E
command-line option in obtool
. "obtool Syntax for Interactive Mode" describes the command-line option.
Use the escape
variable to specify the character to use for quoting special characters. The escape character is used by the obtool command-line parser to quote special characters such as single or double quotation marks. Quoting these characters disables their meaning.
Values
Specifies an escape character. The default escape character is an ampersand (&
).
Note that if the escape character is set to an ampersand (&
), and if you specify &
as part of a file name when running obtool commands on the command line, then enclose the file name within single quotes. For example:
obtool cd -h phred '/home/markb&patti'
Because the ampersand character is within single quotes, it is not interpreted and is considered part of the file name.
Use the fs
variable to set the default filesystem-name
for browser operations.
The value of this variable is used if no --fs
filesystem-name
option is provided to browser commands that accept it.
Use the level
variable to specify an exact backup level to which the browser is constrained. You can also specify the level with the --level
option of the lsbu command.
Values
Specifies a backup level. Refer to "backup-level" for a description of the backup-level
placeholder. By default this variable is not set.
Use the library
variable to specify a a default tape library for tape library operations.
Oracle Secure Backup uses the value of this variable is used if no --library
library_name
option is provided to library commands that require a tape library specification. If this variable is reset with the unset var
command, then the drive variable is also reset.
Use the maxlevel
variable to set the maximum backup level to which the browser is constrained. You can also specify the level with the --maxlevel
option of the lsbu command.
Values
Specifies a maximum backup level. Refer to "backup-level" for a description of the backup-level
placeholder. By default this variable is not set.
Use the namewidth
variable to set the nominal width in characters for the ls --long
output. This width controls the column alignment of the backup ID data that appears in parentheses following each name, as shown in the following example:
ob> ls --long -rwx------ bkpadmin.g527 74 2012/05/24.12:55 file1 (1)
Use the numberformat
variable to set the display format for certain large numbers. You can also control this setting with the --numberformat
option of the ls command.
Values
Sets the display of large numbers. Refer to "numberformat" for a description of the numberformat
placeholder. By default the numberformat
variable is unset, which is equivalent to setting it to friendly
.
The value of this variable is used if no --snapshot
snapshot-name
option is provided to browser commands that accept it.
Use the verbose
variable to set the level of obtool output. If this variable is not set (default), then verbose mode is controlled by the --verbose/-v
command-line option in obtool. "obtool Syntax for Interactive Mode" describes the command-line option.
Use the width
variable to set the line width in characters for adjustable-width output. The number of characters displayed on each line by commands such as ls is adjustable. The width
variable controls, to the degree possible, such line widths. Note that obtool exceeds this line width to accommodate long names.