Managed Service for OpenSearch API, gRPC: ClusterService.ListBackups
Returns a list of available backups for the specified OpenSearch cluster.
gRPC request
rpc ListBackups (ListClusterBackupsRequest) returns (ListClusterBackupsResponse)
ListClusterBackupsRequest
{
"cluster_id": "string",
"page_size": "int64",
"page_token": "string"
}
|
Field |
Description |
|
cluster_id |
string Required field. ID of the OpenSearch cluster. To get the ID, use a ClusterService.List request. |
|
page_size |
int64 The maximum number of results per page to return. If the number of available |
|
page_token |
string Page token. To get the next page of results, set |
ListClusterBackupsResponse
{
"backups": [
{
"id": "string",
"folder_id": "string",
"source_cluster_id": "string",
"started_at": "google.protobuf.Timestamp",
"created_at": "google.protobuf.Timestamp",
"indices": [
"string"
],
"opensearch_version": "string",
"size_bytes": "int64",
"indices_total": "int64",
"incremental_size_bytes": "int64",
"total_size_bytes": "int64",
"free_space_required_bytes": "int64"
}
],
"next_page_token": "string"
}
|
Field |
Description |
|
backups[] |
List of the OpenSearch cluster backups. |
|
next_page_token |
string This token allows you to get the next page of results for list requests. If the number of results is larger than ListClustersRequest.page_size, use the Each subsequent list request has its own |
Backup
|
Field |
Description |
|
id |
string Required. ID of the backup. |
|
folder_id |
string ID of the folder that the backup belongs to. |
|
source_cluster_id |
string ID of the OpenSearch cluster that the backup was created for. |
|
started_at |
Time when the backup operation was started. |
|
created_at |
Time when the backup operation was completed. |
|
indices[] |
string Names of indices in the backup. |
|
opensearch_version |
string OpenSearch version used to create the backup. |
|
size_bytes |
int64 Size of the backup in bytes. |
|
indices_total |
int64 The number of indices in the backup. |
|
incremental_size_bytes |
int64 Size of files which were copied as part of the incremental snapshot. |
|
total_size_bytes |
int64 Size of files that are referenced by the snapshot. |
|
free_space_required_bytes |
int64 The space amount required to restore from this backup. |