pmtx

Synopsis

pmtx help [{<command>}] [OPTIONS]

Get help about specified command (or sub-command).

<command><string>

Command. This may be a list in order to specify nested sub-commands. Can be specified more than once.

Optional parameters:

--verbose <boolean>

Verbose help.


pmtx inquiry

Inquiry


pmtx inventory

Inventory


pmtx load <slot> [OPTIONS]

Load

<slot><integer>

Storage slot number (source).

Optional parameters:

--drivenum <integer>

Target drive number (defaults to Drive 0)


pmtx scan

Scan for existing tape changer devices


pmtx status

Changer Status


pmtx transfer <from> <to>

Transfer

<from><integer>

Source storage slot number.

<to><integer>

Target storage slot number.


pmtx unload [OPTIONS]

Unload

Optional parameters:

--drivenum <integer>

Target drive number (defaults to Drive 0)

--slot <integer>

Storage slot number (target). If omitted, defaults to the slot that the drive was loaded from.

Common Options

All command supports the following parameters to specify the changer device:

--device <path>

Path to Linux generic SCSI device (e.g. '/dev/sg4')

--changer <name>

Use changer from Proxmox Backup Server configuration.

Commands generating output supports the --output-format parameter. It accepts the following values:

text:

Text format (default). Human readable.

json:

JSON (single line).

json-pretty:

JSON (multiple lines, nicely formatted).

Description

The pmtx command controls SCSI media changer devices (tape autoloader).

ENVIRONMENT

CHANGER:

If set, replaces the --device option

PROXMOX_TAPE_DRIVE:

If set, use the Proxmox Backup Server configuration to find the associated changer device.