Add Protected Databases

post

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/zdlra/{raTargetId}/actions/bulkAddProtectedDatabases

Add protected databases to a Recovery Appliance.

Request

Path Parameters
Header Parameters
  • Recovery Appliance Administrator Credentials. The format must be NAMED: (e.g. NAMED:ORSADMIN) or PREFERRED: (e.g. PREFERRED:PREF_ORSADMIN). If no value is specified, the system will use preferred credentials.
    Example:
    NAMED:ORSADMIN
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Details of protected databases to be added to a Recovery Appliance.
Show Source
Nested Schema : protectedDatabases
Type: array
List of protected databases to be added to a Recovery Appliance.
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 : ProtectedDatabaseProperties
Type: object
Protected database properties.
Show Source
  • A comma separated list of Enterprise Manager users. A list of Enterprise Manager database administrator users that need access to the Recovery Appliance virtual private catalog user credentials specified by vpcUserCred, in order to configure databases to send backups to the Recovery Appliance. The list of Enterprise Manager users is ALL, CLOUD_SWLIB_USER, DESIGNER, EMCLOUD_ADMIN, EMSSA_ADMIN, EMUSER_ADMIN, INFRA_ADMIN, OPER, PLUGIN_ADMIN, PLUGIN_AGENT_ADMIN, PLUGIN_OMS_ADMIN, PLUGIN_USER, PROV_DESIGNER, PROV_OPERATOR, TESTSUPERADMIN, VIEWER
    Example: EMUSER_ADMIN, INFRA_ADMIN, OPER, DESIGNER
  • Enterprise Manager target name of a single-instance or cluster database to be enrolled with the Recovery Appliance. A group target name can be specified, in which case all the database members of the group will be enrolled. Database unique name can also be used.
    Example: Oemrep_Database
  • Name of protection policy to be used for the databases being enrolled on the Recovery Appliance.
    Example: MYPOLICY
  • Allowed Values: [ "G", "T", "P" ]
    Reserved space to be allocated on the Recovery Appliance for the protected databases. This can be specified in gigabytes(G), terabytes (T), or petabytes (P) (examples, 10.4G, 1.2T). The default is gigabytes(G) if the unit is not specified. This is required field if targetType is not specified, and no otherwise. By default, for any databases for which a value is not specified, reserved space will be set according to the following formula ((2 x ) + 100) GB.
    Example: 10.4G
  • Allowed Values: [ "oracle_database", "rac_database", "composite" ]
    Target type corresponding to the target specified by target name. This can be oracle_database, rac_database, or composite. If database unique name to be enrolled as a protected database, then this targetType should be blank.
    Example: oracle_database
  • Specify credentials for an existing Recovery Appliance database user that will be given the ability to backup and restore the protected databases. A comma separated list of vpcUserCred can be specified. The format must be NAMED: (e.g. NAMED:RMAN or NAMED:RMAN,NAMED:RASYS,NAMED:VPCUSER1) or PREFERRED: (e.g. PREFERRED:PREF_RMAN).
    Example: NAMED:RMAN
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 : ProtectedDatabaseDPSubmissionAdd
Type: object
Protected database 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

403 Response

Forbidden. The user is forbidden 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

409 Response

Conflict
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