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 |
create |
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. |
cluster |
Output only. Cluster uid of this backup. |
total |
Output only. Total size of the backup in bytes. |
expire |
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: |
engine |
Output only. redis-7.2, valkey-7.5 |
backup |
Output only. List of backup files of the backup. |
node |
Output only. Node type of the cluster. |
replica |
Output only. Number of replicas for the cluster. |
shard |
Output only. Number of shards for the cluster. |
backup |
Output only. Type of the backup. |
state |
Output only. State of the backup. |
encryption |
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 | |
---|---|
file |
Output only. e.g: |
size |
Output only. Size of the backup file in bytes. |
create |
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. |