curl -i -X GET -u username:userPassword1! -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://rest_server_url/paas/api/v1.1/instancemgmt/domainName/services/soa/instances/ExampleInstance/backupconfig
Specify the following options on the cURL command line:
-
-i
option to include the HTTP header in the output. This option is optional.
-
-X
option to indicate the type of request (GET
).
-
-u
option to specify the user name and password for the Oracle SOA Cloud Service account for authentication.
-
-H
to define a custom header, X-ID-TENANT-NAME
, to identify the identity domain ID.
In the example, the following backup schedules are in effect:
-
Full backups are performed at 11:50:00 PM UTC on Tuesday
-
Incremental backups are performed at 11:50:00 PM UTC daily, excluding Tuesday
-
Retention time for incremental and on-demand backups is set to 30 days; full scheduled backups are retained until their last related incremental backup is no longer available, if any
The following example shows the response body in JSON format.
{
"state":"ENABLED",
"defaultRetention":"30 days",
"fullBackupSchedule":
{
"second":"0",
"minute":"50",
"hour":"23",
"dayOfMonth":"*",
"month":"*",
"dayOfWeek":"Tue",
"year":"*"
},
"incrementalBackupSchedule":
{
"second":"0",
"minute":"50",
"hour":"23",
"dayOfMonth":"*",
"month":"*",
"dayOfWeek":"Sun,Mon,Wed,Thu,Fri,Sat",
"year":"*"
},
"scheduledBackups":"ALL",
"extendedRestoreTypes":"NONE",
"lastBackupDate":"Thu Dec 03 23:50:00 GMT 2019",
"lastSuccessfulCleanupDate":"Fri Dec 04 01:01:59 GMT 2019",
"nextFullBackupDate":"Tue Dec 08 23:50:00 GMT 2019",
"nextIncrementalBackupDate":"Fri Dec 04 23:50:00 GMT 2019",
"backupDestination":"BOTH",
"cloudStorageContainer":"Storage-ExampleIdentityDomain\/mybackupcontainer",
"cloudStorageUser":"username",
"totalCloudStorageContainerUsed":"1.8GB",
"totalCloudStorageContainerUsedInBytes":1934445222,
"totalBackupVolumeUsed":"1.8GB",
"totalBackupVolumeUsedInBytes":1934445222,
"percentBackupVolumeUsed":0.9007961750030518
}