Skip to content

gmr/dynamodb-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dynamodb-backup

Backup a DynamoDB table to an Avro container.

Currently, only full table backups are supported.

Version

Installation

dynamodb-backup is available on the Python Package Index:

pip install dynamodb-backup

dynamodb-backup optionally supports the snappy codec for compression if the Python snappy package is installed. This can be installed using the pip extras install:

pip install dynamodb-backup[snappy]

Usage

dynamodb-backup --help
usage: dynamodb-backup [-h] [-c {snappy,none,deflate}] [-s] [-v]
                       schema table destination

Backup a DynamoDB table to an Avro Container

positional arguments:
  schema                Avro Schema to use
  table                 DynamoDB table name
  destination           Destination file path for the backup file

optional arguments:
  -h, --help            show this help message and exit
  -c {snappy,none,deflate}, --codec {snappy,none,deflate}
                        Compression Codec. Default: deflate
  -s, --skip-validation
                        Do not validate records against the avro schema
  -v, --verbose         Verbose logging output

About

CLI utility for backing up DynamoDB to Avro containers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages