View the Backup Configuration
/paas/api/v1.1/instancemgmt/{domainName}/services/SOA/instances/{serviceId}/backupconfig
- Schedule for full and incremental backups
- Date and time of the last successful backup
- Date and time for the next scheduled backup (both full and incremental)
- Default retention time for incremental backups and full on-demand backups; full scheduled backups are retained until their last related incremental backup is no longer available, if any
- State of the backup service for the service instance
- URI and user name for the object storage container or bucket used to store backups
- Usage statistics for the object storage container or bucket and backup volume
For complete information about scheduled automated backups, contents of backups, and where backups are stored, see Back Up and Restore an Oracle SOA Cloud Service Instance in Administering Oracle SOA Cloud Service.
Request
-
domainName: string
Identity domain ID for the Oracle SOA Cloud Service account.
-
serviceId: string
Name of the Oracle SOA Cloud Service instance.
-
X-ID-TENANT-NAME: string
Identity domain ID for the Oracle SOA Cloud Service account.
Response
- application/json
200 Response
object
-
backupDestination:
string
Location of the service instance backups. This attribute is displayed for
PAAS
service level instances only.The default value is
BOTH
. This means all service instance backups are stored on disk (in a volume attached to the nodes) and in the object storage container or bucket that is specified incloudStorageContainer
. -
cloudStorageContainer:
string
URI of the object storage container or bucket where service instance backups are stored.
-
cloudStorageUser:
string
User name for the object storage user.
-
defaultRetention:
string
Number of days incremental backups and full on-demand backups are retained. If set to
null
, backups are retained indefinitely or until you manually delete them.Full scheduled backups are retained until their last related incremental backup is no longer available, if any.
-
disabledOn:
string
Timestamp when backups were disabled automatically due to repeated failure. If backups were disabled by the user, then the response will not include this field.
-
disabledScheduledCoordinatedBackups:
boolean
Flag that specifies whether a scheduled Oracle SOA Cloud Service instance backup is to include a backup of the associated Oracle Database Cloud Service database deployment.
The attribute is only displayed when the value is
true
(that is, when backups of associated database deployments are disabled). However, this may change in the future. -
extendedRestoreTypes:
string
Only value is
NONE
. This means that restoration of backups is supported only by using a backup ID. -
fullBackupSchedule:
object fullBackupSchedule
Schedule for the next full backup.
-
incrementalBackupSchedule:
object incrementalBackupSchedule
Schedule for the next incremental backup.
-
nextFullBackupDate:
string
Scheduled date and time for next full backup.
This attribute is not available when the state of the backup service is disabled for the service instance.
-
nextIncrementalBackupDate:
string
Scheduled date and time for next incremental backup.
This attribute is not available when the state of the backup service is disabled for the service instance.
-
scheduledBackups:
string
Type of scheduled backups.
ALL
: Both full and incremental scheduled backups are enabled.DISABLED
: Backups are disabled. SeedisabledOnError
for the reason.
-
state:
string
State of the backup service for the service instance. For example,
ENABLED
orDISABLED
. -
totalBackupVolumeUsed:
string
Total amount (in GBs) of the backup volume that is currently in use.
-
totalBackupVolumeUsedInBytes:
string
Total amount (in Bytes) of the backup volume that is currently in use.
-
totalCloudStorageContainerUsed:
string
The total amount (in GBs) of the object storage container or bucket space that is currently in use.
-
totalCloudStorageContainerUsedInBytes:
string
The total amount (in Bytes) of the object storage container or bucket space that is currently in use.
object
-
Array of:
object backupschedule
Attributes for
fullBackupSchedule
andincrementalBackupSchedule
.
object
-
Array of:
object backupschedule
Attributes for
fullBackupSchedule
andincrementalBackupSchedule
.
object
fullBackupSchedule
and incrementalBackupSchedule
.-
dayOfMonth(optional):
string
Day of the month. This value is not configurable. It defaults to all days of the month (*).
-
dayOfWeek(optional):
string
Day of the week. Valid values are: Mon, Tue, Wed, Thu, Fri, Sat, Sun. For full backups, only one value (day) is allowed. For incremental backups, one or more values (days) are allowed. If a value is not specified for incremental backups, the default value is calculated as all days except the day that full backups are initiated.
-
hour(optional):
string
Hours. Valid values are 0 to 23.
-
minute(optional):
string
Minutes. Valid values are 0 to 59.
-
month(optional):
string
Month. This value is not configurable. It defaults to all months (*).
-
second(optional):
string
Seconds. This value is not configurable. It defaults to 0.
-
year(optional):
string
Year. This value is not configurable. It defaults to all years (*).
404 Response
backupDestination
set to NONE
).Examples
The following example shows how to view the backup configuration for an Oracle SOA Cloud Service instance by submitting a GET request on the REST resource using cURL.
Note: The command in this example uses the URL structure https://rest_server_url/resource-path
, where rest_server_url
is the REST server to contact for your identity domain (or Cloud account). See Send Requests.
cURL Command
curl -i -X GET -u username:Password! -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://rest_server_url/paas/api/v1.1/instancemgmt/{domainName}/services/SOA/instances/ExampleInstance/backupconfig
Example of Response Header
The following example shows the response header:
HTTP/1.1 200 OK
Date: Mon, 20 Jun 2016 16:55:34 GMT
Transfer-Encoding: chunked
Content-Type: application/json
Example of Response Body
The following example shows the response.
{
"state": "ENABLED",
"defaultRetention":"30 days",
"fullBackupSchedule":
{
"second":"0",
"minute":"20",
"hour":"14",
"dayOfMonth":"*",
"month":"*",
"dayOfWeek":"Sat",
"year":"*"
},
"incrementalBackupSchedule":
{
"second":"0",
"minute":"20",
"hour":"14",
"dayOfMonth":"*",
"month":"*",
"dayOfWeek":"Sun,Mon,Tue,Wed,Thu,Fri",
"year":"*"
},
"scheduledBackups":"ALL",
"extendedRestoreTypes":"NONE",
"nextFullBackupDate":"Sat Jun 25 14:20:00 GMT 2016",
"nextIncrementalBackupDate":"Tue Jun 21 14:20:00 GMT 2016",
"backupDestination":"BOTH",
"cloudStorageContainer":"Storage-ExampleIdentityDomain\/mybackupcontainer",
"cloudStorageUser":"username",
"totalCloudStorageContainerUsed":"46.3MB",
"totalCloudStorageContainerUsedInBytes":48513508,
"totalBackupVolumeUsed":"46.3MB",
"totalBackupVolumeUsedInBytes":48513508,
}
The following example shows another response returned in JSON format, where the backup service is disabled.
{
"state": "DISABLED",
"defaultRetention":"30 days",
"fullBackupSchedule":
{
"second":"0",
"minute":"20",
"hour":"14",
"dayOfMonth":"*",
"month":"*",
"dayOfWeek":"Sat",
"year":"*"
},
"incrementalBackupSchedule":
{
"second":"0",
"minute":"20",
"hour":"14",
"dayOfMonth":"*",
"month":"*",
"dayOfWeek":"Sun,Mon,Tue,Wed,Thu,Fri",
"year":"*"
},
"scheduledBackups":"ALL",
"extendedRestoreTypes":"NONE",
"backupDestination":"BOTH",
"cloudStorageContainer":"Storage-ExampleIdentityDomain\/mybackupcontainer",
"cloudStorageUser":"username",
"totalCloudStorageContainerUsed":"46.3MB",
"totalCloudStorageContainerUsedInBytes":48513508,
"totalBackupVolumeUsed":"46.3MB",
"totalBackupVolumeUsedInBytes":48513508,
6
}