dynamodb-backup

Backup a DynamoDB table to an Avro container


Keywords
dynamodb, avro, backup, aws, python
License
BSD-1-Clause
Install
pip install dynamodb-backup==1.0.0

Documentation

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