Fleet Create Protection Policies

post

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/zdlra/actions/bulkCreateProtectionPolicies

Create one or more protection policies on one or more Recovery Appliances.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Attributes to be used for the Create/Update/Delete protection policy APIs for one or more Recovery Appliances.
Show Source
Nested Schema : raTargetNames
Type: array
List of protection policies to be created or updated on one or more Recovery Appliances.
Show Source
Nested Schema : ScheduleRAOperations
Type: object
Schedule with which the protected databases procedure will be scheduled. If the schedule option is not provided, the protected databases procedure runs immediately.
Show Source
  • Comma-separated list of days. (Required only if frequency is monthly, or yearly. Example, repeat=1d. The valid range is 1 to 30 inclusive)
  • Comma-separated list of days. (Required only if frequency is weekly. Example, repeat=1D. The valid range is 1 to 7 inclusive)
  • End time for the procedure executions (optional). If it is not specified, the procedure runs indefinitely. W3C Time format (example,2021-12-10T19:16:19.666Z25:66:00)
    Example: 2021-12-10T19:16:19.666Z25:66:00
  • Allowed Values: [ "INTERVAL", "WEEKLY", "MONTHLY", "YEARLY" ]
    Schedule Frequency Options
  • Grace period in minutes (optional)
  • Comma-separated list of months. (Required only if frequency is yearly). Valid range is 1 to 12 inclusive.
  • Frequency with which the procedure will be repeated. (Required only if frequency is set to interval)
  • Time when the procedure is to start executing. W3C Time format (example,2021-11-10T19:16:19.666Z25:66:00)
    Example: 2021-11-10T19:16:19.666Z25:66:00
Nested Schema : ProtectionPoliciesPerTarget
Type: object
List of protection policies to be created on a Recovery Appliance.
Show Source
Nested Schema : protectionPolicies
Type: array
List of protection policies.
Show Source
Nested Schema : ProtectionPolicyProperties
Type: object
Protection policy properties.
Show Source
  • Specifies whether Recovery Appliance will allow deletion of backups via the RMAN DELETE command for databases associated with this protection policy.
  • Allowed Values: [ "BASIC", "ADVANCED", "MEDIUM", "HIGH" ]
    The compression algorithm that will be used for archived log backups created by the Recovery Appliance
  • Specifies whether the Recovery Appliance will automatically define and update the reserved space for databases associated with this policy (only applicable to Recovery Appliance versions 21.1 and greater).
  • Specifies whether protected databases using this protection policy will use this Recovery Appliance as an alternate destination in a backup and redo failover strategy. If enabled, backups and redo for protected databases that use this protection policy will be stored temporarily for later forwarding to a primary Recovery Appliance, after which they will be deleted from this Recovery Appliance.
  • A recovery window goal that Recovery Appliance should attempt to meet for point-in-time recovery using disk backups. Specified as a string in ISO 8601 extended format (PnYnMnDTnHnMnS with P always present, T preceding any sub-day time components, and all present components properly suffixed). Example, P1DT5H (1 day and 5 hours)
  • Always accept new backups, even if it requires purging existing backups not yet copied to media or replicated.
  • Specifies whether the Recovery Appliance should keep the backups of the databases associated with this protection policy until the "keep until time" (only applicable to Recovery Appliance versions 21.1 and greater).
  • A maximum time that disk backups should be retained. This value must be greater than or equal to the disk recovery window goal. If not specified, backups will be retained beyond the disk recovery window goal as space permits. Specified as a string in ISO 8601 extended format (PnYnMnDTnHnMnS with P always present, T preceding any sub-day time components, and all present components properly suffixed).
  • A longer window within which point-in-time recovery capability from a media manager (e.g., Oracle Secure Backup) will be maintained. Specified as a string in ISO 8601 extended format (PnYnMnDTnHnMnS with P always present, T preceding any sub-day time components, and all present components properly suffixed).
  • Protection policy name.
  • Specifies a time range that the Recovery Appliance must ensure that all databases using this protection policy can be recovered to. If this Recovery Window Compliance attribute is set, do not set allowBackupDeletion attribute (only applicable to Recovery Appliance versions 21.1 and greater). Specified as a string in ISO 8601 extended format (PnYnMnDTnHnMnS with P always present, T preceding any sub-day time components, and all present components properly suffixed). Example, P1DT5H (1 day and 5 hours)
  • The maximum amount of time in which there is potential data loss exposure for databases associated with this protection policy. If this amount of time is exceeded for a database associated with this policy, a warning will be generated. Specified as a string in ISO 8601 extended format (PnYnMnDTnHnMnS with P always present, T preceding any sub-day time components, and all present components properly suffixed).
Back to Top

Response

Supported Media Types

202 Response

Accepted
Headers
  • Status of the deployment procedure submitted can be viewed in this location.
Body ()
Root Schema : ProtectionPolicyDPSubmission
Type: object
Protection policy deployment procedure status.
Show Source

400 Response

Bad Request. The payload is null or missing some parameters
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

401 Response

Unauthorized. The user does not have permissions to perform the requested operation
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

404 Response

Not Found. The requested REST API URL is not found.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

500 Response

Internal Server Error. Exception in execution of REST API.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

503 Response

Service Unavailable. The server is unable to process the request.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source
Back to Top