Resource: Backup
A backup of a Cloud Bigtable table.
JSON representation |
---|
{ "name": string, "sourceTable": string, "sourceBackup": string, "expireTime": string, "startTime": string, "endTime": string, "sizeBytes": string, "state": enum ( |
Fields | |
---|---|
name |
A globally unique identifier for the backup which cannot be changed. Values are of the form The backup is stored in the cluster identified by the prefix of the backup name of the form |
source |
Required. Immutable. Name of the table from which this backup was created. This needs to be in the same instance as the backup. Values are of the form |
source |
Output only. Name of the backup from which this backup was copied. If a backup is not created by copying a backup, this field will be empty. Values are of the form: projects/ |
expire |
Required. The expiration time of the backup. When creating a backup or updating its Once the A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
start |
Output only. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
end |
Output only. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
size |
Output only. Size of the backup in bytes. |
state |
Output only. The current state of the backup. |
encryption |
Output only. The encryption information for the backup. |
backup |
Indicates the backup type of the backup. |
hot |
The time at which the hot backup will be converted to a standard backup. Once the This field only applies for hot backups. When creating or updating a standard backup, attempting to set this field will fail the request. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
State
Indicates the current state of the backup.
Enums | |
---|---|
STATE_UNSPECIFIED |
Not specified. |
CREATING |
The pending backup is still being created. Operations on the backup may fail with FAILED_PRECONDITION in this state. |
READY |
The backup is complete and ready for use. |
BackupType
The type of the backup.
Enums | |
---|---|
BACKUP_TYPE_UNSPECIFIED |
Not specified. |
STANDARD |
The default type for Cloud Bigtable managed backups. Supported for backups created in both HDD and SSD instances. Requires optimization when restored to a table in an SSD instance. |
HOT |
A backup type with faster restore to SSD performance. Only supported for backups created in SSD instances. A new SSD table restored from a hot backup reaches production performance more quickly than a standard backup. |
Methods |
|
---|---|
|
Copy a Cloud Bigtable backup to a new backup in the destination cluster located in the destination instance and project. |
|
Starts creating a new Cloud Bigtable Backup. |
|
Deletes a pending or completed Cloud Bigtable backup. |
|
Gets metadata on a pending or completed Cloud Bigtable Backup. |
|
Gets the access control policy for a Bigtable resource. |
|
Lists Cloud Bigtable backups. |
|
Updates a pending or completed Cloud Bigtable Backup. |
|
Sets the access control policy on a Bigtable resource. |
|
Returns permissions that the caller has on the specified Bigtable resource. |