https://github.com/gmr/dynamodb-backup
CLI utility for backing up DynamoDB to Avro containers
https://github.com/gmr/dynamodb-backup
avro aws backup dynamodb python
Last synced: 9 months ago
JSON representation
CLI utility for backing up DynamoDB to Avro containers
- Host: GitHub
- URL: https://github.com/gmr/dynamodb-backup
- Owner: gmr
- License: bsd-3-clause
- Created: 2016-11-03T19:06:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-11-29T22:17:21.000Z (over 6 years ago)
- Last Synced: 2025-10-05T20:16:02.776Z (9 months ago)
- Topics: avro, aws, backup, dynamodb, python
- Language: Python
- Size: 17.6 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
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 `_:
.. code:: bash
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:
.. code:: bash
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
.. |Version| image:: https://img.shields.io/pypi/v/dynamodb-backup.svg?
:target: https://pypi.python.org/pypi/dynamodb-backup