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
질문됨 8달 전962회 조회
2개 답변
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
전문가
답변함 8달 전
0

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

AWS
답변함 8달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠