Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 848 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 848 Bytes

dynamodb-copy-table

A simple python script to copy dynamodb table


Requirements

  • Python 2.x
  • boto (pip install boto)

Usage

A simple usage example:

$ python dynamodb-copy-table.py src_table dst_table

You can use the environment variables AWS_DEFAULT_REGION and DISABLE_DATACOPY to select the region (the default region is us-west-2) and disable the copying of data from source table to destination table.

$ AWS_DEFAULT_REGION=us-east-1 DISABLE_DATACOPY=yes python dynamodb-copy-table.py src_table dst_table

References