Amazon DynamoDB | Backup and restore Flashcards
Does DynamoDB Global Tables support cross-account access (i.e. replicating data from one AWS account to another)?
Backup and restore
Amazon DynamoDB | Database
What is DynamoDB On-Demand Backup?
Backup and restore
Amazon DynamoDB | Database
On-Demand Backup allows you to create backups of DynamoDB table data and its settings. You can initiate an On-Demand Backup any time with a single-click from the AWS Management Console or a single API call. DynamoDB encrypts, catalogs, and stores the backups automatically. You can restore the backups to a new DynamoDB table in the same region anytime.
Why do I want to use On-Demand Backups?
Backup and restore
Amazon DynamoDB | Database
You can use On-Demand Backup to meet long-term archival requirements for regulatory compliance. On-Demand Backup gives you full-control in managing the lifecycle of your backups, from creating as many backups as you need and retaining these for as long as you need.
How long are the On-Demand backups retained?
Backup and restore
Amazon DynamoDB | Database
DynamoDB retains backups until you delete them.
Are backups retained even after I delete the source table?
Backup and restore
Amazon DynamoDB | Database
Yes. Backups remain accessible even after you delete the source table.
Does On-Demand Backup consume provisioned read or write capacity of the source table?
Backup and restore
Amazon DynamoDB | Database
No. DynamoDB executes backup and restore actions within the service, and does not consume any provisioned read or write capacity of the source table. On-Demand Backup does not impact the performance or the availability of your table.
Is cross-region backup and restore supported?
Backup and restore
Amazon DynamoDB | Database
Currently, backup and restore works only in the same region as the source table. However, you can achieve cross-region backup and restore by replicating your table to a different region using Global Tables, and then backing up the table in the other regions.
Where are my backups stored?
Backup and restore
Amazon DynamoDB | Database
On-Demand Backups are stored using DynamoDB highly durable managed storage to provide a simple, performant, and easy experience for customers.
Which AWS regions support On-Demand Backup?
Backup and restore
Amazon DynamoDB | Database
On-Demand Backup is being rolled out to US East (N. Virginia), US East (Ohio), US West (Oregon), and EU (Ireland) regions.
What DynamoDB table data and settings are backed up by On-Demand Backup?
Backup and restore
Amazon DynamoDB | Database
Along with data, read capacity units, write capacity units, settings for local secondary indexes, global secondary indexes, streams, and encryption are also backed up by On-Demand Backup. Auto Scaling policies, Time-to-Live (TTL), Tags, IAM policies, and CloudWatch metrics and alarms are not preserved with backups.
What table data and settings are restored by On-Demand Restore?
Backup and restore
Amazon DynamoDB | Database
On restore, destination table is set with the same provisioned reads capacity units and write capacity units as the source table, as recorded at the time backup was requested. The restore process restores the local secondary indexes and the global secondary indexes and does not restore Streams and Time-to-Live (TTL) data.
How is On-Demand Backup different from Import and Export using AWS Data Pipeline?
Backup and restore
Amazon DynamoDB | Database
The AWS Data Pipeline import and export capability utilizes your table provisioned read and write throughput capacity and impacts table performance, as DynamoDB table data is moved using full table scans. On-Demand Backup, on the other hand, does not consume any throughput capacity, with no impact to table performance and availability. The Import and Export options under the Actions menu in the DynamoDB console have been removed, but still accessible from the AWS Data Pipeline console.
How do I initiate On-Demand Backup?
Backup and restore
Amazon DynamoDB | Database
You can initiate On-Demand Backup from the DynamoDB console, the Command Line Interface (CLI), or programmatically via APIs from the Software Development Kit (SDK). All On-Demand Backup actions — create, restore, and delete — are available from the “Backups” navigation tab of a DynamoDB table. You can also browse the full list of On-Demand Backups in your account, from the navigation pane on the left side of the console. For On-Demand Backup and Restore API, please refer to the DynamoDB API Reference documentation.
How long do backup and restore operations take to complete?
Backup and restore
Amazon DynamoDB | Database
Backup requests are processed in seconds and become available for restore immediately. Restore times will vary based on the size of the DynamoDB table.
Is there a limit to the number of On-Demand Backups I can take?
Backup and restore
Amazon DynamoDB | Database
There is no limit to the number of On-Demand Backups you can request for a table. There is no limit to the number of backups you can retain in your account.