Managed Service for Redis API, REST: Cluster.ListBackups
Retrieves the list of available backups for the specified Redis cluster.
HTTP request
GET https://mdb.api.cloud.yandex.net/managed-redis/v1/clusters/{clusterId}/backups
Path parameters
Field |
Description |
clusterId |
string Required field. ID of the Redis cluster. |
Query parameters
Field |
Description |
pageSize |
string (int64) The maximum number of results per page to return. If the number of available |
pageToken |
string Page token. To get the next page of results, set |
Response
HTTP Code: 200 - OK
{
"backups": [
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"sourceClusterId": "string",
"startedAt": "string",
"sourceShardNames": [
"string"
],
"type": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
backups[] |
List of Redis backups. |
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results |
Backup
Description of a Redis backup. For more information, see
the Managed Service for Redis documentation.
Field |
Description |
id |
string ID of the backup. |
folderId |
string ID of the folder that the backup belongs to. |
createdAt |
string (date-time) Creation timestamp in RFC3339 String in RFC3339 To work with values in this field, use the APIs described in the |
sourceClusterId |
string ID of the Redis cluster that the backup was created for. |
startedAt |
string (date-time) Start timestamp in RFC3339 String in RFC3339 To work with values in this field, use the APIs described in the |
sourceShardNames[] |
string Shard names used as a source for backup. |
type |
enum (BackupType) How this backup was created (manual/automatic/etc...)
|