Home / AWS Backup errors

DynamoDB backup fails while the table is being created

Information FAILED AWS Backup
What AWS reports
resource is in an invalid state for backuptable is being createdtable not active

Matched case-insensitively — AWS wraps these phrases in longer messages that vary by resource type.

What is actually happening

A DynamoDB table cannot be backed up while it is still being created, which typically takes a couple of minutes. This usually appears in automation that creates a table and immediately backs it up.

How to fix it

  1. Wait for the table status to reach ACTIVE before backing it up.
  2. In automation, poll DescribeTable until the status is ACTIVE rather than backing up immediately.
  3. If this appeared once during a deployment and has not recurred, no action is needed.

What AWS documents

AWS documents that creating backups for DynamoDB tables fails while the table is being created.

Source: AWS Backup Developer Guide — Troubleshoot creating resources

Stop finding this one failure at a time

BackupLens watches every AWS Backup job across every region, matches each failure against this catalogue automatically, and sends you the cause and the fix — instead of a job list you have to read line by line at 3am.

Start free trial