Create on demand cluster backup
POSThttps://api.spectrocloud.com/v1/spectroclusters/:uid/features/backup/onDemand
Create on demand cluster backup
Request
Path Parameters
uid stringrequired
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
backupLocationNamestring
backupLocationUidstring
backupNamestring
backupPrefixstring
durationInHoursint64
includeAllDisksboolean
includeClusterResourcesboolean
locationTypestring
namespacesstring[]
schedule
Responses
- 201
Created successfully
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
uidstringrequired
{
"uid": "string"
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L 'https://api.spectrocloud.com/v1/spectroclusters/:uid/features/backup/onDemand' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>' \
-d '{
"backupLocationName": "string",
"backupLocationUid": "string",
"backupName": "string",
"backupPrefix": "string",
"durationInHours": 0,
"includeAllDisks": true,
"includeClusterResources": true,
"locationType": "string",
"namespaces": [
"string"
],
"schedule": {
"scheduledRunTime": "string"
}
}'