Configuring database backup stacking on tape
Configure database backup stacking on tape to store multiple full database backups sequentially on the same tape volume, improve tape utilization, and reduce tape media consumption.
About this task
Database backup stacking helps reduce tape media usage, improve tape capacity utilization, and minimize the number of scratch volumes required for database backup operations. Database backup stacking is supported only for eligible tape device classes, such as LTO-8 and later, and supports single-stream full database backups.
By default, each database backup operation uses a new scratch tape volume. When database backup stacking is enabled, the server reuses eligible tape volumes and appends subsequent backups to the same tape until the volume reaches capacity or the configured backup limit.
The server maintains a dedicated backup volume group for each enrolled tape device class. During a backup operation, the server selects a reusable volume from the group by using a round-robin selection method. If no eligible volume exists, the server automatically adds a new scratch volume to the group.
The server tracks the tape write location for each backup and stores the information in the volume history file. During restore operations, the server uses the recorded tape position to locate the correct database backup.
Database backup stacking is enabled only for the tape device classes that are specified in the DBBKPSTACKINGDEVCLASSLIST option.
Before you begin
Before you configure database backup stacking, ensure that your environment meets the following requirements:
- Use supported tape device classes, such as LTO-8 or later.
- Configure database backups to use single-stream operations (NUMSTREAMS=1).
The following restrictions apply when database backup stacking is enabled:
- Only full database backups are supported.
- Incremental and snapshot database backups are not supported.
- Multi-stream database backups are not supported.
- The VOLUMENAMES parameter cannot be specified in the BACKUP DB command.
- The feature is supported only for tape device classes.
Procedure
Enable database backup stacking
Verify the configuration
Modify enrolled device classes
Disable database backup stacking
Results
After database backup stacking is configured:
- The server automatically manages backup volume groups for enrolled tape device classes.
- Multiple database backups are written sequentially to the same tape volume.
- Tape utilization improves because partially used tapes are reused.
- Backup history records include the tape start and end positions for each backup.
- Tape volumes are removed from the active rotation group after the configured backup limit is reached.
What to do next
After you configure database backup stacking:
- Monitor backup operations and tape utilization.
- Review the activity log and volume history information regularly.
- Adjust volume group and backup count settings based on tape capacity and backup frequency.
- Periodically reclaim expired tape volumes according to your retention policy. For more information, see Reclamation of database backup tape volumes.