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

0

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.

heno7
feita há 8 meses964 visualizações
2 Respostas
1

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
ESPECIALISTA
respondido há 8 meses
0

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

AWS
respondido há 8 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas