Maintain Recovery Appliance backup wallets
post
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/databases/actions/maintainBackupConfig
Synchronizes backup wallets for protected databases after the virtual private catalog credentials or trusted certificates for the associated Recovery Appliance change. The ZDLRA Management Pack must be enabled for that Recovery Appliance.
Request
Header Parameters
-
ORCL-EM-DBTARGET-AUTHORIZATION:
Database named credential used to connect to the database target. If omitted, preferred credentials will be used.
-
ORCL-EM-HOSTTARGET-AUTHORIZATION:
Host named credential for an operating system user who can perform database backup and recovery operations. If omitted, preferred credentials will be used.
-
ORCL-EM-WALLETTARGET-AUTHORIZATION:
Named credential containing the password for a password-protected backup wallet.
Supported Media Types
- application/json
Root Schema : schema
Type:
objectMaintain Backup Configuration Request schema.
Show Source
-
destinationMediaType: string
Destination media type.Example:
RA -
schedule:
Discriminator: type
Discriminator:
{ "propertyName":"type", "mapping":{ "immediately":"#/components/schemas/ScheduleImmediately", "later":"#/components/schemas/ScheduleLater", "repeating":"#/components/schemas/ScheduleRepeating" } }Specifies schedule of the deployment procedure. -
targetList: array
targetList
Database targets on which to perform SBT backup wallet maintenance. When specified, only listed targets that require synchronization are processed. When omitted, all database targets currently flagged for maintenance in the Enterprise Manager repository are processed.
Nested Schema : Discriminator: type
Type:
objectDiscriminator: type
Discriminator Values
Specifies schedule of the deployment procedure.
Match One Schema
Show Source
-
immediately -
object
ScheduleImmediately
Schedule immediately.
-
later -
object
ScheduleLater
Schedule later.
-
object
Discriminator: repeatFrequency
Discriminator:
{ "propertyName":"repeatFrequency", "mapping":{ "WEEKLY":"#/components/schemas/ScheduleWeekly", "MONTHLY":"#/components/schemas/ScheduleMonthly", "YEARLY":"#/components/schemas/ScheduleYearly", "INTERVAL":"#/components/schemas/ScheduleInterval" } }Repeating schedule.
Nested Schema : targetList
Type:
arrayDatabase targets on which to perform SBT backup wallet maintenance. When specified, only listed targets that require synchronization are processed. When omitted, all database targets currently flagged for maintenance in the Enterprise Manager repository are processed.
Show Source
Nested Schema : ScheduleImmediately
Type:
objectSchedule immediately.
Show Source
-
type(required): string
Type of schedule.Example:
immediately
Nested Schema : ScheduleLater
Type:
objectSchedule later.
Show Source
-
startTime:
date-timeDate when the deployment procedure is scheduled to start. Specified as a string in the format yyyy/MM/dd HH:mm.Example:2021/08/30 23:00 -
timeZone: string
Java Timezone.Example:
America/New_York -
type(required): string
Type of schedule.Example:
later
Nested Schema : Discriminator: repeatFrequency
Type:
objectDiscriminator: repeatFrequency
Discriminator Values
Repeating schedule.
Match All
Repeating schedule.
Show Source
-
object
ScheduleRepeatingBase
Repeating schedule.
Match One Schema
Show Source
-
WEEKLY -
object
ScheduleWeekly
Repeat value for repeat frequency - weekly.
-
MONTHLY -
object
ScheduleMonthly
Repeat value for repeat frequency - monthly.
-
YEARLY -
object
ScheduleYearly
Repeat value for repeat frequency - yearly.
-
INTERVAL -
object
ScheduleInterval
Repeat value for repeat frequency - interval.
Nested Schema : ScheduleRepeatingBase
Type:
objectRepeating schedule.
Show Source
-
endtime:
date-timeDate when job expires. Specified as a string in the format yyyy/MM/dd HH:mm. If not specified, repeat would be on forever.Example:2021/08/30 23:00 -
repeatFrequency(required): string
Allowed Values:
[ "WEEKLY", "MONTHLY", "YEARLY", "INTERVAL" ]Repetitive frequency type. -
startTime(required):
date-timeDate when the deployment procedure is scheduled to start. Specified as a string in the format yyyy/MM/dd HH:mm.Example:2021/08/30 23:00 -
timeZone: string
Java Timezone.Example:
America/New_York -
type(required): string
Type of schedule.Example:
repeating
Nested Schema : ScheduleWeekly
Type:
objectRepeat value for repeat frequency - weekly.
Show Source
-
days(required): array
days
Days of the week.
Nested Schema : ScheduleMonthly
Type:
objectRepeat value for repeat frequency - monthly.
Show Source
-
days(required): array
days
Repeat value for monthly.
Nested Schema : ScheduleYearly
Type:
objectRepeat value for repeat frequency - yearly.
Show Source
-
months(required): array
months
Repeat value for yearly.
Nested Schema : ScheduleInterval
Type:
objectRepeat value for repeat frequency - interval.
Show Source
-
repeatEvery(required): string
Repeat every N value - m(minutes), h(hours), d(days), w(week).Example:
10m, 3h, 5d, 2w
Nested Schema : days
Type:
arrayDays of the week.
Show Source
-
Array of:
integer
Allowed Values:
[ 1, 2, 3, 4, 5, 6, 7 ]Days of the week, Sunday is 1, Monday is 2 etc.
Example:
1,4Nested Schema : days
Type:
arrayRepeat value for monthly.
Show Source
-
Array of:
integer
Day number, int -1, 1..5 representing which day number. -1 represents LAST day.
Example:
1,30,31Nested Schema : months
Type:
arrayRepeat value for yearly.
Show Source
-
Array of:
integer
Month number, int 1, 2, 3.. representing months Januaray, February, March etc.
Example:
1,3Nested Schema : items
Type:
Show Source
object-
databaseCredential: string
Database credentials.Example:
NAMED:NC_DB1:SYSMAN -
hostCredential: string
Host credentials.Example:
NAMED:NC_VMUSER:SYSMAN -
targetName: string
Target name.Example:
DB1 -
targetType: string
Allowed Values:
[ "oracle_database", "rac_database", "composite" ]Target type.Example:oracle_database
Examples
Back to Top
Response
Supported Media Types
- application/json
202 Response
Tracking details for the submitted deployment procedure.
Headers
-
Content-Location:
Execution details of the deployment procedure submitted.
Root Schema : MaintainBackupConfigResponse
Type:
objectResponse of the operation submitted.
Show Source
-
executionId(required): string
Deployment procedure execution ID.Example:
DE8676BE8CD73086E053DE0D4B64D288 -
location: string
URI to verify the status of the deployment procedure submitted.Example:
/em/api/deploymentProcedureInstances/DE8676BE8CD73086E053DE0D4B64D288 -
procedureId(required): string
Deployment procedure submission ID.Example:
DE8676BE8CD73086E053DE0D4B64D288 -
submissionName(required): string
Name of the deployment procedure submitted.Example:
MAINTAIN_BACKUP_RA_121222220321 -
submittedBy(required): string
User that submitted the deployment procedure.Example:
SYSMAN
400 Response
Bad Request
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an Error
Show Source
-
code(required): string
The status code of the error
-
message(required): string
A descriptive error message
401 Response
Unauthorized
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an Error
Show Source
-
code(required): string
The status code of the error
-
message(required): string
A descriptive error message
403 Response
Forbidden
Root Schema : MissingPrivErrorResponse
Type:
objectResponse sent back as an Error in case required privileges are missing
Show Source
-
missingPrivileges: array
missingPrivileges
Privileges which are missing due to that the Error is occurred. This will have privilege internal name and display name only in the Privilege object
Match All
Response sent back as an Error in case required privileges are missing
Show Source
-
object
ErrorResponse
Response sent back in the case of an Error
Nested Schema : missingPrivileges
Type:
arrayPrivileges which are missing due to that the Error is occurred. This will have privilege internal name and display name only in the Privilege object
Show Source
-
Array of:
object MissingPrivilegeSummary
It represents a Privilege which is missing on a Resource to view or manage it.
Nested Schema : ErrorResponse
Type:
objectResponse sent back in the case of an Error
Show Source
-
code(required): string
The status code of the error
-
message(required): string
A descriptive error message
Nested Schema : MissingPrivilegeSummary
Type:
objectIt represents a Privilege which is missing on a Resource to view or manage it.
Show Source
-
displayName: string
Display Name of PrivilegeExample:
Manage -
name: string
Name of PrivilegeExample:
MANAGE_JOB
404 Response
Not Found
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an Error
Show Source
-
code(required): string
The status code of the error
-
message(required): string
A descriptive error message
500 Response
Internal Server Error
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an Error
Show Source
-
code(required): string
The status code of the error
-
message(required): string
A descriptive error message
503 Response
Service Unavailable
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an Error
Show Source
-
code(required): string
The status code of the error
-
message(required): string
A descriptive error message