Previous Topic: ca_dbmgr - Display Options

Next Topic: ca_dbmgr - Database Management Options

ca_dbmgr - Media Pool Management Options

The ca_dbmgr media pool management options allow you to manage, create, and maintain logical groupings of media (media pools) for easy identification of backups.

The ca_dbmgr command includes the following media pool management options:

ca_dbmgr [-cahost <host>] -mediapool
add <poolName> <saveTapes> 
[-b <baseSerial>]
[-i <serialIncr>]
[- m <maxSerial>]
[-retention <retentionDays>]
modify <poolName> 
[-save <saveTapes>]
[-retention <retentionDays>]
delete [-f] <poolName> [tapeID[:seqNo]]
move <tapeID[:seqNo]> <fromPoolName> <toPoolName> SCRATCH | SAVE


add <poolName> <saveTapes>
[-b <baseSerial>]
[-i <serialIncr>]
[-m <maxSerial>]
[-retention <retentionDays>]

Creates a new media pool. You must specify the name of the media pool and the minimum number of media to keep in the Save Set.

Optionally, you can specify serial number information and the retention period.

modify <poolName>
[-save <saveTapes>]
[-retention <retentionDays>]

Allows you to change the minimum number of media to keep in the Save Set and the retention time for the specified media pool.

delete [-f] <poolName> [tapeID [:seqNo]]

Deletes the specified tape from the specified media pool.

If you enter the name of a media pool without specifying a tape, the entire media pool is deleted.

Use the -f switch to perform the deletion in non-interactive mode.

move <tapeID [:seqNo]> <fromPoolName> <toPoolName> SCRATCH|SAVE

Moves tapes from media pool to media pool. You can also move tapes from the Scratch Set to the Save Set, or back. You can use the default value for either the fromPoolName value or the toPoolName value to specify a non-pool setting.

For example, to move a tape that is unassigned a pool value, use the default value setting for the fromPoolName value. This command also has the same function as Move Media in the Media Pool Manager user interface.

More information:

ca_dbmgr - Database Manager Command

ca_dbmgr - Examples