Resource: Backup
Backup of an instance.
JSON representation |
---|
{ "name": string, "createTime": string, "instance": string, "instanceUid": 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 Instance UID] OR customer specified while backup instance. 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: |
instance |
Output only. Instance resource path of this backup. |
instanceUid |
Output only. Instance 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. valkey-7.5/valkey-8.0, etc. |
backupFiles[] |
Output only. List of backup files of the backup. |
nodeType |
Output only. Node type of the instance. |
replicaCount |
Output only. Number of replicas for the instance. |
shardCount |
Output only. Number of shards for the instance. |
backupType |
Output only. Type of the backup. |
state |
Output only. State 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. |