Export data from DynamoDB

后端 未结 17 1866
离开以前
离开以前 2020-12-13 04:02

Is it possible to export data from DynamoDB table in some format?

The concrete use case is that I want to export data from my production dynamodb database and import

17条回答
  •  半阙折子戏
    2020-12-13 04:36

    Export it from the DynamoDB interface to S3.

    Then convert it to Json using sed:

    sed -e 's/$/}/' -e $'s/\x02/,"/g' -e $'s/\x03/":/g' -e 's/^/{"/'  > .json
    

    Source

提交回复
热议问题