Skip to main content

DynamoDB.

Project description

B.AwsDynamoDbBackup

A python based package that allows you to back up, restore, and seed dynamodb database tables.

Description

Sometimes you want to make a small modification to your dynamodb table, however it usually requires destruction of the table itself. This library allows you to do those small modifications without any headache. You can easily backup all your data to your local computer, delete the table, create a new one with desired modifications, and then simply restore it!

Remarks

Biomapas aims to modernise life-science industry by sharing its IT knowledge with other companies and the community. This is an open source library intended to be used by anyone. Improvements and pull requests are welcome.

Related technology

  • Python 3
  • DynamoDB
  • Boto3

Assumptions

The project assumes the following:

  • You have basic knowledge in python programming.
  • You have basic knowledge in DynamoDB.

Useful sources

Install

The project is built and uploaded to PyPi. Install it by using pip.

pip install b_aws_dynamodb_backup

Or directly install it through source.

pip install .

Usage & Examples

The library uses boto3 AWS SDK for interacting with AWS environment. Hence, environmental credentials (such as aws_access_key_id, aws_secret_access_key, and region_name) are required.

The library exposes cli commands. Read more about them down below.

dyseed

Seeds your table with random data.

> dyseed TableName
dyback

Backups your whole table(s).

# Single table.
> dyback TableName

# All tables.
> dyback 
dyrest

Restores your whole table(s).

# Single table.
> dyrest TableName

# All tables.
> dyrest

Testing

This project currently has no tests.

Contribution

Found a bug? Want to add or suggest a new feature?
Contributions of any kind are gladly welcome. You may contact us directly, create a pull-request or an issue in github platform. Lets modernize the world together.

Release history

1.0.0

  • Allow to back up all tables.
  • Allow to restore all tables.

0.0.2

  • Cleanup.

0.0.1

  • Initial build.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

b_aws_dynamodb_backup-1.0.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

b_aws_dynamodb_backup-1.0.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file b_aws_dynamodb_backup-1.0.0.tar.gz.

File metadata

  • Download URL: b_aws_dynamodb_backup-1.0.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/47.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for b_aws_dynamodb_backup-1.0.0.tar.gz
Algorithm Hash digest
SHA256 83e616cc76f15d0ab757e32c8e97309b0927de7e5928bbb756be13b8a788f639
MD5 84e21d346c63a7612e0e99b0f25a4a13
BLAKE2b-256 b716d2c87afba4867a33fad574f812bfc4b40a9bb35188298cf18ed4845abcd1

See more details on using hashes here.

File details

Details for the file b_aws_dynamodb_backup-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: b_aws_dynamodb_backup-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/47.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for b_aws_dynamodb_backup-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f2425e304e06bf968045572fb4b05306ddaf7ba7877f17fc7e867c84766adb0
MD5 ad0fb7d9051588f80ccc834f71deac17
BLAKE2b-256 8ac7dbbcf85f84e8b10a31c23d4922676ab7e5054323161459c3369c68f50e18

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page