Pular para o conteúdo

Autochanger resource

Este conteúdo não está disponível em sua língua ainda.

Configuration directives for the Autochanger resource. Every directive is listed; value types and defaults are noted where the source provides them.

Changer Command = <name-string>

The <name-string> specifies an external program to be called that will automatically change volumes as required by NGBackup. Most frequently, you will specify the NGBackup supplied mtx-changer script as follows. If it is specified here, it need not be specified in the Device resource. If it is also specified in the Device resource, it will take precedence over the one specified in the Autochanger resource.

Changer Device = <name-string>

The specified <name-string> gives the system file name of the autochanger device name. If specified in this resource, the Changer Device name is not needed in the Device resource. If it is specified in the Device resource (see above), it will take precedence over one specified in the Autochanger resource.

Device = <Device-name1, device-name2, ...>

Specifies the names of the Device resource or resources that correspond to the autochanger drive. If you have a multiple drive autochanger, you must specify multiple Device names, each one referring to a separate Device resource that contains a Drive Index specification that corresponds to the drive number base zero. You may specify multiple device names on a single line separated by commas, and/or you may specify multiple Device directives. This directive is required.

returns one line for each cassette in the autochanger in the format <slot>:<barcode>. Where the <slot> is the non-zero integer representing the slot number, and <barcode> is the barcode associated with the cassette if it exists and if you autoloader supports barcodes. Otherwise the barcode field is blank.

loads a specified slot (note, some autochangers require a 30 second pause after this command) into the drive.

returns number of the slot that is loaded, base 1, in the drive or 0 if the drive is empty.

Name = <Autochanger-Name>

Specifies the Name of the Autochanger. This name is used in the Director’s Storage definition to refer to the autochanger. This directive is required.

returns total number of slots in the autochanger.

unloads the device (returns cassette to its slot).