Can I restore a backup to an existing dynamodb table but not create a new dynamodb table.


I am searching for solutions to restore an existing dynamodb table but not to create new table instead overwrite the existing table, which I have a backup record use AWS Backup. I searched on documents about Dyanmodb and AWS Backup and try on console so I think we can not restore a existing table without create a new table unless we delete existing table and then use backup record to restore table with the same name. I try some backup solutions use AWS Backup, DynamoDB Backup, Point-int-time recovery but all of it require create new table to restore unless delete the existing table. Are there any solutions for my problem. Thanks.

posta 9 mesi fa1025 visualizzazioni
2 Risposte

As Jason stated this cannot be achieved using native backup and restore features. But as you are looking for alternative suggestions here are some. If you are using Backups or PITR and you need to import the data to an existing table you can do a couple of things:

  1. For PITR -> Export to S3
  • Use a AWS Glue or Lambda (data size dependent) to read from S3 and load into destination table
  1. For Backup -> Backup to new table
  • Use the same steps as above or read directly from the temporary table and write to destination table.
profile pictureAWS
con risposta 9 mesi fa

Your research is correct that DynamoDB restores always go to a new table.

con risposta 9 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande