Description

List backups.

※backup_id : The ID which automatically associates to cancellation when 1VM is applied for backup
※backuprun_id : The ID which associates to a backup operation

Request URL

Compute API v2.0

GET /v1/{tenant_id}/backup

Request Parameters

Parameter Value Style Description
X-Auth-Token User Token header
tenant_id Tenant ID URI

Request Json

This operation does not accept a request body.

Normal response codes

200 OK

Example

curl -i -X GET \
-H "Accept: application/json" \
-H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \
https://compute.tyo1.cloud.z.com/v2/1864e71d2deb46f6b47526b69c65a45d/backup
HTTP/1.1 200 OK
Date: Tue, 10 Feb 2015 08:00:45 GMT
Server: Apache
Content-Length: 492
Content-Type: text/html; charset=UTF-8

{
  "backup": [
    {
      "instance_id": "5da9552d-93fa-4b86-8fe5-2968556017f7",
      "id": "9fbcc5eb-aa2b-4d17-a27d-43f11c8c2b17",
      "backupruns": [
        {
          "status": "available",
          "created_at": "2015-02-28T12:56:29Z",
          "backuprun_id": "58ad1951017444acacc13cee1067f1d0",
          "type": "instance"
        }
      ]
    },
    {
      "instance_id": "a647cd83-ad21-48aa-85e6-4e3ab52d337f",
      "id": "1df1d401-0e64-4f43-8a96-475b4eb55029",
      "backupruns": [
        {
          "status": "available",
          "created_at": "2015-02-24T06:11:04Z",
          "backuprun_id": "9ba40be79b474328a42046d47171ca1d",
          "volume_id": "5026a03f-01e3-4188-899b-8738538f47db",
          "type": "volume"
        },
        {
          "status": "available",
          "created_at": "2015-02-25T09:22:10Z",
          "backuprun_id": "4f9a0f1047ef4a5d9758fa176e8a6ba1",
          "type": "instance"
        },
        {
          "status": "available",
          "created_at": "2015-02-25T09:28:15Z",
          "backuprun_id": "eccb48b720ed469f87f42492b98f39f7",
          "type": "instance"
        }
      ],
    },
    {
      "instance_id": "9ed73499-255b-498b-b2b8-4790d2556c4d",
      "id": "eaf25feb-8255-4cda-912c-ffea8df34e0e",
      "backupruns": [
        {
          "status": "available",
          "created_at": "2015-02-12T09:59:15Z",
          "backuprun_id": "9a61530e82434128a6039974a1c8397e",
          "type": "instance"
        },
        {
          "status": "restoring",
          "created_at": "2015-02-12T09:59:33Z",
          "backuprun_id": "136918faac024d879acda658d47c290f",
          "volume_id": "312d5592-445b-4d67-965c-4d2a0e2e02cb",
          "type": "volume"
        }
      ],
    }
  ]
}