Managed Service for MySQL API, gRPC: BackupService.Get
Retrieves information about the specified backup.
gRPC request
rpc Get (GetBackupRequest) returns (Backup)
GetBackupRequest
{
"backup_id": "string"
}
Field |
Description |
backup_id |
string Required field. ID of the backup to return information about. To get this ID, make a BackupService.List request (lists all backups in a folder) or a ClusterService.ListBackups request (lists all backups for an existing cluster). |
Backup
{
"id": "string",
"folder_id": "string",
"created_at": "google.protobuf.Timestamp",
"source_cluster_id": "string",
"started_at": "google.protobuf.Timestamp",
"size": "int64",
"type": "BackupCreationType",
"status": "BackupStatus"
}
An object that represents MySQL backup.
See the documentation for details.
Field |
Description |
id |
string Required field. ID of the backup. |
folder_id |
string ID of the folder that the backup belongs to. |
created_at |
Creation timestamp (the time when the backup operation was completed). |
source_cluster_id |
string ID of the cluster that the backup was created for. |
started_at |
Start timestamp (the time when the backup operation was started). |
size |
int64 Size of backup, in bytes |
type |
enum BackupCreationType How this backup was created (manual/automatic/etc...)
|
status |
enum BackupStatus Status of backup
|