Create backup

 
MethodURIDescription
POST/v2/{tenant_id}/backups

Creates a Block Storage backup from a volume.

Normal response codes: 202

 Request

This table shows the URI parameters for the create backup request:

NameTypeDescription

{tenant_id}

​String

The unique identifier of the tenant or account.

 

Example 3.33. Create backup: JSON request

{
   "backup":{
      "container":null,
      "description":null,
      "name":"backup001",
      "volume_id":"64f5d2fb-d836-4063-b7e2-544d5c1ff607"
   }
}

 Response

 

Example 3.34. Create backup: JSON response

{
   "backup":{
      "id":"deac8b8c-35c9-4c71-acaa-889c2d5d5c8e",
      "links":[
         {
            "href":"http://localhost:8776/v2/c95fc3e4afe248a49a28828f286a7b38/backups/deac8b8c-35c9-4c71-acaa-889c2d5d5c8e",
            "rel":"self"
         },
         {
            "href":"http://localhost:8776/c95fc3e4afe248a49a28828f286a7b38/backups/deac8b8c-35c9-4c71-acaa-889c2d5d5c8e",
            "rel":"bookmark"
         }
      ],
      "name":"backup001"
   }
}

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page