Resource: Backup
Backup of a cluster.
| JSON representation | 
|---|
| { "name": string, "createTime": string, "cluster": string, "clusterUid": string, "totalSizeBytes": string, "expireTime": string, "engineVersion": string, "backupFiles": [ { object ( | 
| Fields | |
|---|---|
| name | 
 Identifier. Full resource path of the backup. the last part of the name is the backup id with the following format: [YYYYMMDDHHMMSS]_[Shorted Cluster UID] OR customer specified while backup cluster. Example: 20240515123000_1234 | 
| createTime | 
 Output only. The time when the backup was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
| cluster | 
 Output only. Cluster resource path of this backup. | 
| clusterUid | 
 Output only. Cluster uid of this backup. | 
| totalSizeBytes | 
 Output only. Total size of the backup in bytes. | 
| expireTime | 
 Output only. The time when the backup will expire. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
| engineVersion | 
 Output only. redis-7.2, valkey-7.5 | 
| backupFiles[] | 
 Output only. List of backup files of the backup. | 
| nodeType | 
 Output only. Node type of the cluster. | 
| replicaCount | 
 Output only. Number of replicas for the cluster. | 
| shardCount | 
 Output only. Number of shards for the cluster. | 
| backupType | 
 Output only. Type of the backup. | 
| state | 
 Output only. State of the backup. | 
| encryptionInfo | 
 Output only. Encryption information of the backup. | 
| uid | 
 Output only. System assigned unique identifier of the backup. | 
BackupFile
Backup is consisted of multiple backup files.
| JSON representation | 
|---|
| { "fileName": string, "sizeBytes": string, "createTime": string } | 
| Fields | |
|---|---|
| fileName | 
 Output only. e.g:  | 
| sizeBytes | 
 Output only. Size of the backup file in bytes. | 
| createTime | 
 Output only. The time when the backup file was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:  | 
BackupType
Type of the backup.
| Enums | |
|---|---|
| BACKUP_TYPE_UNSPECIFIED | The default value, not set. | 
| ON_DEMAND | On-demand backup. | 
| AUTOMATED | Automated backup. | 
State
State of the backup.
| Enums | |
|---|---|
| STATE_UNSPECIFIED | The default value, not set. | 
| CREATING | The backup is being created. | 
| ACTIVE | The backup is active to be used. | 
| DELETING | The backup is being deleted. | 
| SUSPENDED | The backup is currently suspended due to reasons like project deletion, billing account closure, etc. | 
| Methods | |
|---|---|
| 
 | Deletes a specific backup. | 
| 
 | Exports a specific backup to a customer target Cloud Storage URI. | 
| 
 | Gets the details of a specific backup. | 
| 
 | Lists all backups owned by a backup collection. |