View All Deleted Backups

get

/paas/api/v1.1/instancemgmt/{identityDomainId}/services/jaas/instances/{serviceId}/deletedbackups

Returns information about all deleted backups for an Oracle Java Cloud Service instance.

For complete information about contents of backups, where backups are stored, and how backups and local copies of backups are deleted automatically, see About Backup and Restoration in Administering Oracle Java Cloud Service.

Request

Path Parameters
Header Parameters
Back to Top

Response

200 Response

OK. See Status Codes for information about other possible HTTP status codes.
Body ()
Root Schema : viewalldeleted-response
Type: object
The response body contains information about all deleted backups.
Show Source
Nested Schema : deletedbackups
Type: array
Groups all deleted backups.
Show Source
Nested Schema : deletedbackups
Type: object
Show Source
  • Backup ID.
  • Date and time that the backup started.
  • Flag that specifies whether a database backup was performed as part of a backup operation on the Oracle Java Cloud Service instance. If false, a database backup was not performed. If true, a database backup was performed.

    Note: This attribute is always false on Oracle Java Cloud Service instances that that are associated with the following database services for the required infrastructure schema:

    • Oracle Autonomous Transaction Processing
    • Oracle Cloud Infrastructure Database (DB system)
    • Oracle Database Exadata Cloud Service

  • An RMAN tag or a timestamp. This attribute is included only if a database backup was performed as part of the Oracle Java Cloud Service instance backup.

    When the associated 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 deployment is hosting an Oracle Real Application Clusters (RAC) database, the attribute value is the timestamp of the database backup.

  • Date and time that the backup deletion completed.
  • Date and time that the backup is deleted automatically from storage. If the value is null, the backup is retained indefinitely or until you manually delete it. (Value is null when keepForever was set to true for an on-demand backup.)
  • Flag that specifies whether this was a full (true) or incremental (false) backup.
  • URI of the backup resource.
  • User account that initiated the operation. Value is scheduled for scheduled automated operations.
  • Job ID for the delete backup operation.
  • Flag that specifies whether the backup is downloaded and stored locally in block storage on the Administration Server host (true), or archived and stored remotely (false). The remote storage is the specified object storage container or bucket.
  • 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.
  • Free-form text that provides additional information about the backup.
  • Size of the backup, in MBs.
  • Size of the backup, in Bytes.
  • Status of the backup. Valid value is Deleted.
  • Where service instance backups are stored.
Back to Top

Examples

The following example shows how to view information about all deleted backups for an Oracle Java 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 "Content-Type:application/json" -H "X-ID-TENANT-NAME:ExampleIdentityDomain" https://rest_server_url/paas/api/v1.1/instancemgmt/ExampleIdentityDomain/services/jaas/instances/ExampleInstance/deletedbackups

Example of Response Header

The following shows an example of the response header:

HTTP/1.1 200 OK
Date: Sat, 12 Dec 2015 01:50:11 GMT
Transfer-Encoding: chunked
Content-Type: application/json

Example of Response Body

The following example shows a response returned in JSON format. Your output will differ depending on your Oracle Java Cloud Service environment, service instance configuration, and backup configuration.

{
    "deletedbackups":[
    {
        "backupId":"1444395600241",
        "jobId":"300748",
        "backupStartDate":"Fri Oct 09 13:00:00 GMT 2015",
        "expirationDate":"Sat Nov 14 13:00:00 GMT 2015",
        "deletedOnDate":"Mon Nov 16 13:21:23 GMT 2015",
        "initiatedBy":"scheduled",
        "full":true,
        "local":false,
        "localCopy":false,
        "databaseIncluded":true,
        "size":"1712.8MB",
        "sizeInBytes":1795953008,
        "dbTag":"TAG20151009T131630",
        "status":"Deleted",
        "href":"https:\/\/rest_server_url\/paas\/api\/v1.1\/instancemgmt\/ExampleIdentityDomainID\/services\/jaas\/instances\/ExampleInstance\/backups\/1444395600241",
        "notes":"Automated backup"
    },
    {
        "backupId":"1444482000267",
        "jobId":"300746",
        "backupStartDate":"Sat Oct 10 13:00:00 GMT 2015",
        "expirationDate":"Mon Nov 09 13:00:00 GMT 2015",
        "deletedOnDate":"Mon Nov 16 13:20:20 GMT 2015",
        "initiatedBy":"scheduled",
        "full":false,
        "local":false,
        "localCopy":false,
        "databaseIncluded":true,
        "size":"52.1MB",
        "sizeInBytes":54682556,
        "dbTag":"TAG20151010T130457",
        "status":"Deleted",
        "href":"https:\/\/rest_server_url\/paas\/api\/v1.1\/instancemgmt\/ExampleIdentityDomainID\/services\/jaas\/instances\/ExampleInstance\/backups\/1444482000267",
        "notes":"Automated backup"
    },
    ...
    {
        "backupId":"1447938000367",
        "jobId":"325323",
        "backupStartDate":"Thu Nov 19 13:00:00 GMT 2015",
        "expirationDate":"Sat Dec 19 13:00:00 GMT 2015",
        "deletedOnDate":"Wed Nov 25 19:30:07 GMT 2015",
        "initiatedBy":"scheduled",
        "full":false,
        "local":false,
        "localCopy":true,
        "databaseIncluded":true,
        "size":"388.8MB",
        "sizeInBytes":407662990,
        "dbTag":"TAG20151119T131258",
        "status":"Deleted",
        "href":"https:\/\/rest_server_url\/paas\/api\/v1.1\/instancemgmt\/ExampleIdentityDomainID\/services\/jaas\/instances\/ExampleInstance\/backups\/1447938000367",
        "notes":"Automated backup"
    },
    {
        "backupId":"1448110800502",
        "jobId":"325320",
        "backupStartDate":"Sat Nov 21 13:00:00 GMT 2015",
        "expirationDate":"Mon Dec 21 13:00:00 GMT 2015",
        "deletedOnDate":"Wed Nov 25 19:27:02 GMT 2015",
        "initiatedBy":"scheduled",
        "full":false,
        "local":false,
        "localCopy":true,
        "databaseIncluded":true,
        "size":"387.3MB",
        "sizeInBytes":406099518,
        "dbTag":"TAG20151121T131441",
        "status":"Deleted",
        "href":"https:\/\/rest_server_url\/paas\/api\/v1.1\/instancemgmt\/ExampleIdentityDomainID\/services\/jaas\/instances\/ExampleInstance\/backups\/1448110800502",
        "notes":"Automated backup"
    }
    ]
}
Back to Top