S3.
Project description
B.AwsS3Backup
A python based package that allows you to back up, restore, and seed S3 buckets.
Description
Sometimes you want to make a small modification to your S3 bucket, however it usually requires destruction of the bucket 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 bucket, 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
- S3
- Boto3
Assumptions
The project assumes the following:
- You have basic knowledge in python programming.
- You have basic knowledge in S3.
Useful sources
Install
The project is built and uploaded to PyPi. Install it by using pip.
pip install b_aws_s3_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.
s3seed
Seeds your S3 bucket with random data.
> s3seed BucketName
s3back
Backups your whole bucket(s).
# Single bucket.
> s3back BucketName
# All buckets.
> s3back
s3rest
Restores your whole bucket(s).
# Single bucket.
> s3rest BucketName
# All bucket.
> s3rest
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
0.0.1
- Initial build.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file b_aws_s3_backup-0.0.1.tar.gz
.
File metadata
- Download URL: b_aws_s3_backup-0.0.1.tar.gz
- Upload date:
- Size: 11.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 296f280b0599344e1fbe42c8d57485333a4df49fad8856a0536547647131b504 |
|
MD5 | 6ad4e027f2e685d92f49f6b9f16d3e17 |
|
BLAKE2b-256 | 20ba485dfa5478cc7fc22a572182bbf6a867644b4271ba7a415ac4edc7999d19 |
File details
Details for the file b_aws_s3_backup-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: b_aws_s3_backup-0.0.1-py3-none-any.whl
- Upload date:
- Size: 13.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e055e18dffc88213ea74b1d8818ef7762d53ac8d0ab592fe516caa2af23b34f |
|
MD5 | 56284b43a5a872b8055b185bc68226e9 |
|
BLAKE2b-256 | e9d1c1a2923040bc8851355775b18d4e01b71fab948e656dfefde2ef7ec2af03 |