UPDATE_ARCHIVAL_BACKUP_KEEP
This procedure updates the retention time of archival backup with the specified keep_until_time
. Archival backup is identified by user specified restore_tag
and restore_point
.
This API has the following restrictions for input options:
-
If restore point doesn't exist for the specified
restore_tag
andrestore_point
of thedb_unique_name
database, this returns an error. -
If
keep_compliance
of the protection policy is set toYES
andkeep_until_time
is less than the existing retention time of archival backup, this returns an error.
Syntax
PROCEDURE update_archival_backup_keep( db_unique_name IN VARCHAR2, restore_tag IN VARCHAR2, restore_point IN VARCHAR2 DEFAULT NULL, restore_until_scn IN VARCHAR2, keep_until_time IN TIMESTAMP WITH TIME ZONE, comments IN VARCHAR2 DEFAULT NULL);
Parameters
Table 22-53 UPDATE_ARCHIVAL_BACKUP_KEEP Parameters
Parameter | Description |
---|---|
|
The |
|
Specifies the user-defined tag of the archival backup. |
|
User specified restore point name of the archival backup. |
|
User specified retention time for the archival backup. If specified as |
|
Optional user supplied comment describing reason for executing this command. |