In normal circumstances you should not enable software compression. It makes your Backup run slower. There can be several reason for excessive tapes, like how many volume pools you are using. You can not share media between multiple pools. Your compression rate depends upon kind of backup data (db vs MP3 etc).
When NetBackup automatically selects a volume in a robot, it proceeds as follows:
I. Searches the NetBackup media catalog for a mounted volume that meets the following criteria:
* Same retention level as specified in the policy/schedule, unless the ALLOW_MULTIPLE_RETENSIONS_PER_MEDIA option is set
* Same volume pool as specified in the policy/schedule
* Not in a FULL, FROZEN, IMPORTED, or SUSPENDED state
* Media is of the same density specified by the storage unit being used for this backup
* Not currently in use
* Not written in a protected format
II. If the above search finds no volumes, the same criteria are used and NetBackup searches through all non-mounted volumes in the robot.
III. If the media catalog does not have a suitable volume, NetBackup sends an assignment request to the Media Manager. The Media Manager selects an unassigned volume that must meet ALL of the following criteria:
* Is the correct media type.
* Is for the correct robot type.
* Is located in the requested robotic peripheral.
* Resides on the requested host.
* Is in the correct volume pool.
* Is not currently assigned (not already allocated to NetBackup).
* Is not expired (if expiration date is defined for the media)
* Has not exceeded the maximum number of mounts allowed.
IV. If more than one volume qualifies, Media Manager assigns the one with the least mounts. NetBackup then adds this volume to the media catalog and assigns it the specified retention level.
V. If there are no unassigned volumes of the requested type, Media Manager will assign a volume from the scratch pool
VI. If there are no appropriate volumes in the scratch pool (or if there is no scratch pool defined), the backup terminates with a status 96 ("no available media")
Couple of side notes:
- If a backup in progress reaches EOM (End Of Media) before the backup is complete the media selection logic is different:
1) Looks for unassigned media in the required pool or the scratch pool.
2) If there are no unassigned media NetBackup will then look at assigned media that meet the requirements.
- During the initial tape selection process NetBackup should not assign new media if the number of assigned media match the number of drives configured in the storage unit.
Example: If you have 4 drives configured in the storage unit and 4 assigned tapes that match the criteria then NBU should not assign new media.