Returns the cluster backup result
GEThttps://api.spectrocloud.com/v1/spectroclusters/:uid/features/backup
Returns the cluster backup result
Request
Path Parameters
uid stringrequired
Query Parameters
backupRequestUid string
Header Parameters
ProjectUid string
A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
Responses
- 200
OK
- application/json
- Schema
- Example (auto)
Schema
metadata object
spec
status
{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-29T15:51:28.071Z",
"deletionTimestamp": "2024-07-29T15:51:28.071Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-29T15:51:28.071Z",
"name": "string",
"uid": "string"
},
"spec": {
"clusterUid": "string",
"config": {
"backupLocationName": "string",
"backupLocationUid": "string",
"backupName": "string",
"backupPrefix": "string",
"durationInHours": 0,
"includeAllDisks": true,
"includeClusterResourceMode": "Always",
"includeClusterResources": true,
"locationType": "string",
"namespaces": [
"string"
],
"schedule": {
"scheduledRunTime": "string"
}
}
},
"status": {
"clusterBackupStatuses": [
{
"actor": {
"actorType": "string",
"uid": "string"
},
"backupConfig": {
"includeAllDisks": true,
"includeClusterResourceMode": "Always",
"includeClusterResources": true,
"namespaces": [
"string"
]
},
"backupLocationConfig": {
"name": "string",
"type": "string",
"uid": "string"
},
"backupRequestUid": "string",
"backupStatusMeta": [
{
"backupName": "string",
"backupState": {
"backupTime": "2024-07-29T15:51:28.071Z",
"deleteState": "string",
"msg": "string",
"state": "string"
},
"backupedNamespaces": [
"string"
],
"expiryDate": "2024-07-29T15:51:28.071Z"
}
],
"restoreStatusMeta": [
{
"backupName": "string",
"destinationClusterRef": {
"kind": "string",
"name": "string",
"uid": "string"
},
"restoreState": "string"
}
],
"state": "string"
}
]
}
}
Authorization: ApiKey
name: ApiKeytype: apiKeydescription: API key authorization where API key can be generated from Palette console under Profile > My API Keysin: header
- curl
- python
- go
- nodejs
- java
- CURL
curl -L 'https://api.spectrocloud.com/v1/spectroclusters/:uid/features/backup' \
-H 'Accept: application/json' \
-H 'ApiKey: <ApiKey>'