Managed Service for MySQL API, gRPC: BackupService.Get
Retrieves information about the specified backup.
gRPC request
rpc Get (GetBackupRequest) returns (Backup)
GetBackupRequest
{
"backupId": "string"
}
Field |
Description |
backupId |
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",
"folderId": "string",
"createdAt": "google.protobuf.Timestamp",
"sourceClusterId": "string",
"startedAt": "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. |
folderId |
string ID of the folder that the backup belongs to. |
createdAt |
Creation timestamp (the time when the backup operation was completed). |
sourceClusterId |
string ID of the cluster that the backup was created for. |
startedAt |
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
|