Module backup (2.23.0)

A user-friendly wrapper for a Google Cloud Bigtable Backup.

Classes

Backup

Backup(
    backup_id,
    instance,
    cluster_id=None,
    table_id=None,
    expire_time=None,
    encryption_info=None,
)

Representation of a Google Cloud Bigtable Backup.

A :class: Backup can be used to:

  • create the backup
  • update the backup
  • delete the backup
Parameters
NameDescription
backup_id str

The ID of the backup.

instance Instance

The Instance that owns this Backup.

cluster_id str

(Optional) The ID of the Cluster that contains this Backup. Required for calling 'delete', 'exists' etc. methods.

table_id str

(Optional) The ID of the Table that the Backup is for. Required if the 'create' method will be called.

expire_time datetime.datetime

(Optional) The expiration time after which the Backup will be automatically deleted. Required if the create method will be called.