Dynamodbcopy is a cli tool wrapper around the aws-sdk that allows you to copy information from one dynamodb table to another.
- Provides a CLI to easily copy dynamodb records from one place to another
- Allows you to set read and write capacity units for the source and target table
- Integrates with aws-sdk, sharing it's credentials
- Allows you to parameterize the source and target table with specific roles, enabling you to perform cross-account copies
- Stores current provisioning values before performing a copy, restoring the inital values at the end of the copy or if any error occurs during the copy.
Use "dynamodbcopy [command] --help" for more information about a command.
Use go get to retrieve dynamodbcopy
to add it to your GOPATH workspace, or project's Go module dependencies.
go get github.com/uniplaces/dynamodbcopy/cmd/dynamodbcopy
To update run with -u
go get -u github.com/uniplaces/dynamodbcopy/cmd/dynamodbcopy
If you are using Go modules, your go get will default to the latest tagged version. To get a specific release version of the dynamodbcopy
use @<tag>
in your go get command.
go get github.com/uniplaces/dynamodbcopy/cmd/dynamodbcopy@v1.0.0
To get the latest repository change use @latest
tag.
go get github.com/uniplaces/dynamodbcopy/cmd/dynamodbcopy@latest
If you encounter a bug, please start by searching the existing issues and see if others are also experiencing the issue before opening a new one. Please include the version for dynamodbcopy
and Go that you are using. Please also include reproduction case when appropriate.
Please feel free to make suggestions, create issues, fork the repository and send pull requests!
Copyright 2018 UNIPLACES
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.