View a Deleted Backup

get

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

Returns information about a deleted backup for an Oracle Java Cloud Service instance based on the job ID provided.

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 : viewdeleted-response
Type: object
The response body contains information about a backup deleted synchronously or asynchronously, or a list of backups deleted asynchronously.
Show Source
Nested Schema : delete-backup
Type: array
Groups information about a deleted backup.
Show Source
Nested Schema : delete-backups
Type: array
Groups information about a list of backups deleted asynchronously.
Show Source
Nested Schema : delete-backup
Type: object
Show Source

400 Response

Bad Request. Returned if the job ID does not exist.
Back to Top

Examples

The following example shows how to view information about a deleted backup 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/4779

Example of Response Header

The following shows an example of the response header:

HTTP/1.1 200 OK
Date: Wed, 23 Mar 2016 20:01:38 GMT
Transfer-Encoding: chunked
Content-Type: application/json

Example of Response Body

The following example shows a response returned in JSON format, for a single backup that was deleted asynchronously.

{
    "delete-backup":[
    {
        "operation":"delete",
        "jobId":"8376",
        "status":"Completed",
        "startDate":"Tue Dec 08 18:19:53 GMT 2015",
        "completeDate":"Tue Dec 08 18:20:25 GMT 2015",
        "statusDetails":"Deleting the backup archive in the Oracle Storage Cloud Service container...
           Deleted the backup archive in the Oracle Storage Cloud Service container...
           Deleted the local backup..."
    }]
}

The following example shows a response returned in JSON format, for a list of backups deleted asynchronously.

{
    "delete-backups":[
    {
        "operation":"delete",
        "jobId":"4211",
        "status":"In Progress",
        "startDate":"Fri Mar 18 14:57:53 GMT 2016"
    },
    {
        "operation":"delete",
        "jobId":"4208",
        "status":"Completed",
        "startDate":"Fri Mar 18 14:57:21 GMT 2016",
        "completeDate":"Fri Mar 18 14:57:53 GMT 2016",
        "statusDetails":"Deleting the backup archive from the Oracle Storage Cloud Service container...
           Deleted the backup archive in the Oracle Storage Cloud Service container...
           Deleted the local copy of the backup with the ID 1458254176358..."
    }]
}

The following example shows a response returned in JSON format, for a backup that was deleted synchronously.

{
    "delete-backup":[
    {
        "operation":"delete",
        "jobId":"4779",
        "status":"Completed",
        "startDate":"Wed Mar 23 19:58:21 GMT 2016",
        "completeDate":"Wed Mar 23 19:58:54 GMT 2016",
        "statusDetails":"Deleting the backup archive from the Oracle Storage Cloud Service container...
           Deleted the backup archive in the Oracle Storage Cloud Service container...
           Deleted the local copy of the backup with the ID 1458365400062..."
    }]
}
Back to Top