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.

preguntada hace 9 meses1048 visualizaciones
2 Respuestas

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
respondido hace 9 meses

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

respondido hace 9 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas