Skip to content

DynamoDB  >  Structures  >  BackupDetails

BackupDetails

Structure Class

BackupDetails dataclass

Contains the details of the backup created for the table.

Attributes

backup_arn instance-attribute
backup_arn: str

ARN associated with the backup.

backup_creation_date_time instance-attribute
backup_creation_date_time: datetime

Time at which the backup was created. This is the request time of the backup.

backup_expiry_date_time class-attribute instance-attribute
backup_expiry_date_time: datetime | None = None

Time at which the automatic on-demand backup created by DynamoDB will expire. This SYSTEM on-demand backup expires automatically 35 days after its creation.

backup_name instance-attribute
backup_name: str

Name of the requested backup.

backup_size_bytes class-attribute instance-attribute
backup_size_bytes: int | None = None

Size of the backup in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.

backup_status instance-attribute
backup_status: BackupStatus

Backup can be in one of the following states: CREATING, ACTIVE, DELETED.

backup_type instance-attribute
backup_type: BackupType

BackupType:

  • USER - You create and manage these using the on-demand backup feature.

  • SYSTEM - If you delete a table with point-in-time recovery enabled, a SYSTEM backup is automatically created and is retained for 35 days (at no additional cost). System backups allow you to restore the deleted table to the state it was in just before the point of deletion.

  • AWS_BACKUP - On-demand backup created by you from Backup service.