About preventing the direct expiration of backup images
Catalog maintenance operations on Oracle send requests into NetBackup to synchronize the database catalog with the NetBackup catalog. As part of the catalog synchronization, the database may initiate an image expiration (delete) request to the NetBackup catalog. These requests may also come from the DBA when command-line options are used. For compliance reasons, you may want to prevent the expiration of images in the NetBackup catalog from a database request by using a bp.conf entry on the primary server.
To prevent the expiration of backup images, use the following bp.conf entry on the primary server:
PREVENT_ORACLE_DIRECT_EXPIRE | YES: This setting prevents the image delete requests from the database. The delete request receives a status code of 1420 and the log message indicates that the image is on NO: The default setting. All image delete requests are honored from the database. |
Note:
The normal image expiration (retention) and the bpexpdate command are unaffected by this setting.
In a clustered primary server environment, these settings should be set and match in all the primary server bp.conf files.
The following is an example of a log entry when a status code of 1420 is produced.
The dbclient log message for Oracle:
Image is on LEGAL HOLD - Failed to remove, %s, from image catalog.