Backup a DynamoDB table to an Avro container.
Currently, only full table backups are supported.
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]
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