将本地 DynamoDB 实例中的表和表数据传输到 AWS 托管实例? [英] Transfer tables and table data in local DynamoDB instance to AWS hosted instance?

查看:15
本文介绍了将本地 DynamoDB 实例中的表和表数据传输到 AWS 托管实例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有用于将所有表及其数据从本地计算机上运行的 DynamoDB 实例传输到生产级别的 AWS 托管 DynamoDB 实例的函数、实用程序或其他方式?我的本地计算机是一个 Ubuntu 18.04 LTS 实例,我需要从我在开发期间使用的本地 DynamoDB 实例传输所有内容,并将该数据克隆到我最近在 AWS 上创建的实例.

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? 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.

我在同一主题上找到了这篇 Stack Overflow 帖子,但没有答案:

I found this Stack Overflow post on the same subject but it has no answers:

如何是否将本地 dynamodb 实例(包括所有文件)部署到 AWS?

推荐答案

我相信这可能是你的解决方案 -> https://github.com/bchew/dynamodump

I believe this could be your solution -> https://github.com/bchew/dynamodump

根据文档;

使用 boto 的 Amazon DynamoDB 的简单备份和恢复脚本工作原理与 mysqldump 类似.

Simple backup and restore script for Amazon DynamoDB using boto to work similarly to mysqldump.

适用于较小数据量的 DynamoDB 使用保证使用 AWS Data Pipeline 进行备份/恢复/清空.

Suitable for DynamoDB usages of smaller data volume which do not warrant the usage of AWS Data Pipeline for backup/restores/empty.

dynamodump 也支持本地 DynamoDB 实例(使用DynamoDB 本地).

dynamodump supports local DynamoDB instances as well (tested with DynamoDB Local).

这篇关于将本地 DynamoDB 实例中的表和表数据传输到 AWS 托管实例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆