NAME

cs::BudTool::Tape - a tape in the BudTool backup system


SYNOPSIS

use cs::BudTool::Tape;

@labels = cs::BudTool::tapes();

$tape = cs::BudTool::find($label);

$label = $tape->Label(); $usage = $tape->Used();


DESCRIPTION

The cs::BudTool::Tape module accesses the BudTool tape database.


GENERAL FUNCTIONS

tapes()

Return a list of the labels of all known tapes.


OBJECT ACCESS

find(label)

Obtain a cs::BudTool::Tape object representing the tape with the specified label. Return undef if the label is not known.

get(label)

Obtain a cs::BudTool::Tape object representing the tape with the specified label. Creates a new object if the label is unknown.


OBJECT METHODS

Label()

Return the label for this tape.

Dumps()

Return an array ref of the dumps recorded for this tape.

AddDump(ssid)

Add the dump with save set id ssid the the list of dumps on this tape.

Pool(pool)

Get or set the pool for this tape.

Used(used)

Get or set the used value for this tape.

Location(location)

Get or set the location value for this tape.

Slot(slot)

Get or set the slot value for this tape.

Drive(drive)

Get or set the drive value for this tape.


SEE ALSO

cs::BudTool(3), btvolls(1)


AUTHOR

Cameron Simpson <cs@zip.com.au>