View All Backups
/paas/api/v1.1/instancemgmt/{domainName}/services/SOA/instances/{serviceName}/backups
- Full and incremental backups are included. Set the
?fullBackupsOnly
query parameter totrue
to include full backups only. - Successful and in-progress backups are returned. Set the
?includeAll
query parameter totrue
to include failed and deleted backups. - Notes that are greater than 32 characters in length are truncated. Set the
?includeCompleteNotes
query parameter totrue
to include the complete note contents.
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.
-
serviceName: string
Name of the Oracle SOA Cloud Service instance.
-
fullBackupsOnly: boolean
Flag that specifies whether to display full backups only (
true
) or display both full and incremental backups (false
). Defaults tofalse
. -
includeAll: boolean
Flag that specifies whether to display all backups (
true
), which includes successful, in-progress, failed, and deleted backups, or display only successful and in-progress backups (false
). Defaults tofalse
. -
includeCompleteNotes: boolean
Flag that specifies whether to display the complete set of notes for each backup (
true
) or to truncate notes that are greater than 32 characters (false
). Defaults tofalse
.
-
X-ID-TENANT-NAME: string
Identity domain ID for the Oracle SOA Cloud Service account.
Response
- application/json
200 Response
object
-
backupInProgress:
array backupInProgress
Groups details of a backup currently in progress, if any.
-
backups:
array backups
Groups all completed backups.
array
object
-
backupCompleteDate(optional):
string
Date and time that the backup completed. This attribute is not valid for backups that are in progress.
-
backupId(optional):
string
Backup ID. You can use the backup ID to manage the specific backup (for example, download or archive).
-
backupStartDate(optional):
string
Date and time that the backup started.
-
databaseIncluded(optional):
boolean
Flag that specifies whether a database backup was performed as part of the Oracle Java Cloud Service instance backup operation. If
false
, a database backup was not performed. Iftrue
, a database backup was performed. -
dbTag(optional):
string
An RMAN tag or a timestamp. The attribute is included only if a database backup was performed as part of the Oracle Java Cloud Service instance backup.
When the associated Database Cloud Service database deployment is hosting a single-instance database, the attribute value is the RMAN tag that identifies the specific database files backed up. When the associated Database Cloud Service database deployment is hosting an Oracle Real Application Clusters (RAC) database, the attribute value is the timestamp of the database backup. In either case, you use the attribute value to restore the database, if necessary. For information about restoring the database files, see Restoring from a Specific Backup or Restoring to a Specific Point in Time in Administering Oracle Database Cloud Service.
-
deletedOnDate(optional):
string
Date and time that the backup deletion completed. This attribute is not valid for backups that are in progress or still available.
-
expirationDate(optional):
string
Date and time that the backup will be deleted automatically from storage. If the value is
null
, the backup is retained indefinitely or until you manually delete it. (Value isnull
whenkeepForever
was set totrue
for an on-demand backup.) -
full(optional):
boolean
Flag that specifies whether this is a full (
true
) or incremental (false
) backup. A full backup contains all the runtime artifacts required to restore the service instance configuration data. An incremental backup contains changes to configuration data on all virtual machines since the last scheduled full backup. -
href(optional):
string
URI of the backup resource.
-
initiatedBy(optional):
string
User account that initiated this operation. If the operation is a scheduled automated backup, the value is
scheduled
. -
jobId(optional):
string
Job ID for the backup.
-
local(optional):
boolean
Flag that specifies whether the backup is to be downloaded and stored locally in block storage on the Administration Server (
true
) host, or archived and stored remotely (false
) in the specified object storage container or bucket. -
localCopy(optional):
boolean
Flag that specifies whether the local copy of a backup is maintained for a backup that has been uploaded to remote storage. The remote storage is the specified object storage container or bucket.
-
notes(optional):
string
Free-form text that provides additional information about the backup.
-
serviceComponents(optional):
array serviceComponents
Groups service component details.
-
size(optional):
string
Size of the backup, in MBs. For example:
1011.4MB
(backup complete) orUnknown
(backup in-progress). -
sizeInBytes(optional):
integer
Size of the backup, in Bytes.
-
status(optional):
string
Status of the backup. Valid values include:
Completed
,Failed
,Deleted
,Backup In Progress
,Upload In Progress
,Download In Progress
,Restore In Progress
, orDelete In Progress
. -
storageContainer(optional):
string
Where service instance backups are stored.
object
-
type(optional):
string
Service component type. Valid values are
JDK
,OTD
,OTD_JDK
, orWLS
. -
version(optional):
string
Software version of the specified component. For example, 12.1.3.0.5 for WLS, 11.1.1.9.1 for OTD, 1.7.0_91 for OTD_JDK, 1.7.0_91 for JDK.
Examples
The following example shows how to view all backups 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/backups
Example of Response Header
The following example shows the response header.
HTTP/1.1 200 OK
Date: Tue, 07 Mar 2021 19:13:31 GMT
Content-Type: application/json
Example of Response Body
The following example shows the contents of the response body in JSON format. Your output will differ depending on your Oracle SOA Cloud Service environment, service instance configuration, and backup configuration.
{
"backups":[
{
"backupId":"1449332100032",
"jobId":"8191",
"backupStartDate":"Sat Dec 05 16:15:00 GMT 2016",
"backupCompleteDate":"Sat Dec 05 17:36:18 GMT 2016",
"expirationDate":"Mon Jan 04 16:15:00 GMT 2021",
"initiatedBy":"scheduled",
"full":true,
"local":false,
"localCopy":true,
"databaseIncluded":true,
"size":"15.8MB",
"sizeInBytes":16557866,
"dbTag":"TAG20151205T163004",
"status":"Completed",
"storageContainer":"Storage-ExampleIdentityDomain\/SOABackups"
"href":"https:\/\/rest_server_url\/paas\/api\/v1.1\/instancemgmt\/domainName\/services\/SOA\/instances\/ExampleInstance\/backups\/81d4c00e-8520-4e02-87bb-83a9a3df0022",
"backupId":"1449340039298",
"jobId":"8213",
"backupStartDate":"Sat Dec 05 18:27:19 GMT 2016",
"backupCompleteDate":"Sat Dec 05 18:29:53 GMT 2016",
"expirationDate":"Mon Jan 04 18:27:19 GMT 2021",
"initiatedBy":"username",
"full":true,
"local":false,
"localCopy":true,
"databaseIncluded":false,
"size":"16MB",
"sizeInBytes":16792928,
"status":"Completed",
"storageContainer":"Storage-ExampleIdentityDomain\/SOABackups"
"href":"https:\/\/rest_server_url\/paas\/api\/v1.1\/instancemgmt\/domainName\/services\/SOA\/instances\/ExampleInstance\/backups\/81d4c00e-8520-4e02-87bb-83a9a3df0022",
"backupInProgress":{
"backupId":"1449346810790",
"jobId":"8221",
"backupStartDate":"Sat Dec 05 20:20:10 GMT 2016",
"expirationDate":"Mon Jan 04 20:20:10 GMT 2021",
"initiatedBy":"username",
"full":true,
"local":true,
"localCopy":false,
"databaseIncluded":true,
"size":"Unknown",
"sizeInBytes":0,
"dbTag":"unavailable",
"status":"Backup In Progress",
"storageContainer":"Storage-ExampleIdentityDomain\/SOABackups"
"href":"https:\/\/rest_server_url\/paas\/api\/v1.1\/instancemgmt\/domainName\/services\/SOA\/instances\/ExampleInstance\/backups\/81d4c00e-8520-4e02-87bb-83a9a3df0022
0",
"notes":"On-demand full with database..."
}
}