UPDATE_PROTECTION_POLICY
This procedure modifies the parameters for an existing protection policy.
If a parameter is NULL, its value remains unchanged, except as noted below.
Syntax
PROCEDURE update_protection_policy (
protection_policy_name IN VARCHAR2,
description IN VARCHAR2 DEFAULT NULL,
storage_location_name IN VARCHAR2 DEFAULT NULL,
polling_policy_name IN VARCHAR2 DEFAULT dbms_ra_misc.varchar2null('p1'),
recovery_window_goal IN DSINTERVAL_UNCONSTRAINED DEFAULT NULL,
max_retention_window IN DSINTERVAL_UNCONSTRAINED DEFAULT dbms_ra_misc.intervalnull('p3'),
recovery_window_sbt IN DSINTERVAL_UNCONSTRAINED DEFAULT dbms_ra_misc.intervalnull('p2'),
unprotected_window IN DSINTERVAL_UNCONSTRAINED DEFAULT dbms_ra_misc.intervalnull('p4'),
guaranteed_copy IN VARCHAR2 DEFAULT NULL,
allow_backup_deletion IN VARCHAR2 DEFAULT NULL,
store_and_forward IN VARCHAR2 DEFAULT NULL,
log_compression_algorithm IN VARCHAR2 DEFAULT NULL,
autotune_reserved_space IN VARCHAR2 DEFAULT 'NO',
recovery_window_compliance IN DSINTERVAL_UNCONSTRAINED DEFAULT dbms_ra_misc.intervalnull('p5'),
keep_compliance IN VARCHAR2 'NO',
comments IN VARCHAR2 DEFAULT NULL,
max_reserved_space IN VARCHAR2 DEFAULT dbms_ra_misc.varchar2nul('p6'),
secure_mode IN VARCHAR2 DEFAULT 'NULL',
level0_refresh IN DSINTERVAL_UNCONSTRAINED DEFAULT dbms_ra_misc.varchar2nul('p6')
);
Parameters
Table 21-55 UPDATE_PROTECTION_POLICY Parameters
Parameter | Description |
---|---|
|
The name of the protection policy to update. |
|
|
|
If you change the storage location for this protection policy, then the Recovery Appliance starts background jobs to move data from the old storage location to the new storage location. |
|
If you do not specify this parameter, then the policy retains the existing value. If you specify a value (including null), then the Recovery Appliance sets the new value. |
|
|
|
If this parameter is not specified, its old value is retained. If specified, including being specified as NULL, the new value is set. |
|
If you do not specify this parameter, then the policy retains the existing value. If you specify a value (including null), then the Recovery Appliance sets the new value. |
|
If you do not specify this parameter, then the policy retains the existing value. If you specify a value (including null), then the Recovery Appliance sets the new value. |
|
|
|
|
|
|
|
|
|
|
|
This setting specifies for each database a range of backups that will not be deleted. These backups must not use more than Specify the window as any valid |
|
|
|
Optional user supplied comment describing reason for executing this command. |
|
This parameter is the maximum The format of this value is a character string that must contain a number consisting only of the characters
If no unit is specified, then Recovery Appliance interprets the value as a number of bytes. If |
|
Determines whether backups stored on the Recovery Appliance must be encrypted.
|
|
If specified, the Recovery Appliance chooses some number of data files from each backup to be level 0 backups. This spreads the creation of new level 0 backup data across the Specify the refresh cycle as any valid |