3.3. Restoring Instance BackupsΒΆ

POST /instances/{instance_id}/backups/{backup_id}/restore

Create a task to restore the specified backup of the specified stopped instance.

Request example:

# curl -s -X POST -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
-H 'X-Effective-User-ID: c3862f44c4bc48358db62ae22d684f33' \
-H 'X-Effective-Project-ID: 04e0d744d0f544c69ff7c17db5c8b4b9' \
https://<controller_hostname>/api/v1/instances/6e634127-5c8c-4205-8ac6-a8113cdc58a1\
/backups/%7B7b9be872-2196-400d-833f-89126bf34b9b%7D/restore

Response example:

{
  "id": 25,
  "instance_uuid": "23bc7ae1-fa36-4050-977d-6d4e2a1c4cc9",
  "type": "restore_backup",
  "user_id": "admin",
  "project_id": "admin",
  "status": null,
  "state": "running",
  "progress": 0,
  "message": null
}