简体   繁体   English

将本地DynamoDB实例中的表和表数据传输到AWS托管实例?

[英]Transfer tables and table data in local DynamoDB instance to AWS hosted instance?

Is there a function, utility, or otherwise for transferring all the tables and their data from an instance of DynamoDB running on my local computer, to a production level, AWS hosted DynamoDB instance? 是否存在用于将所有表及其数据从本地计算机上运行的DynamoDB实例传输到生产级AWS托管的DynamoDB实例的功能,实用程序或其他功能? My local computer is an Ubuntu 18.04 LTS instance and I need to transfer all the content from my local DynamoDB instance I used during development and clone that data to an instance I've recently created on AWS. 我的本地计算机是Ubuntu 18.04 LTS实例,我需要从开发期间使用的本地DynamoDB实例传输所有内容,然后将数据克隆到我最近在AWS上创建的实例。

I found this Stack Overflow post on the same subject but it has no answers: 我在同一主题上发现了此Stack Overflow帖子,但没有答案:

How do I deploy a local dynamodb instance, including all the files, to AWS? 如何将本地dynamodb实例(包括所有文件)部署到AWS?

I believe this could be your solution -> https://github.com/bchew/dynamodump 我相信这可能是您的解决方案-> https://github.com/bchew/dynamodump

As per docs; 根据文档;

Simple backup and restore script for Amazon DynamoDB using boto to work similarly to mysqldump. 使用boto的Amazon DynamoDB的简单备份和还原脚本类似于mysqldump。

Suitable for DynamoDB usages of smaller data volume which do not warrant the usage of AWS Data Pipeline for backup/restores/empty. 适用于较小数据量的DynamoDB使用,不保证使用AWS Data Pipeline进行备份/还原/清空。

dynamodump supports local DynamoDB instances as well (tested with DynamoDB Local). dynamodump也支持本地DynamoDB实例(已通过DynamoDB Local测试)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM