Backup wiederherstellen

POST /vm/:vmid/backup/restore

URL Variablen

Name Beschreibung
vmid Identifier der VM (fünfstellige Zahl)

Body Parameter (application/x-www-form-urlencoded)

Name Format Beschreibung Optional
backup_id String Backup-ID des Backups

Response (application/json)

200
{4 Eigenschaften
  "status": "success",
  "requestID": "ab937d3a-5d0b-4e19-8cfb-fec711278552",
  "message": "backup restore task started",
  "data": {1 Eigenschaft
    "backup_id": "42276a08-e8e9-4917-9715-cc2e91f421f4"
  }
}

cURL

curl -X POST 'https://live.fireapi.de/vm/:vmid/backup/restore' \
  -H 'X-FIRE-APIKEY: YOUR-API-KEY' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'backup_id=VALUE'