This package supports back up files from local dir to S3 bucket
Project description
Introduction
Install
$ ./bin/pip install c2.backup.s3
setting
create IAM
Create S3 bucket
Option: create folder in S3 bucket
setting by yaml
c2backups3.yaml:
aws: id: YOUR_ID key: ACCOUNT_KEY src: dir: PATH_FOR_YOUR_DIR dist: backet_name: BACKET_NAME path: PASH_OF_BACKET
run
Using custom path of yaml file
backup:
$ ./bin/backups3 buckup FAIL_PATH/YAML_FILE_NAME
list:
$ ./bin/backups3 list FAIL_PATH/YAML_FILE_NAME
download:
$ ./bin/backups3 download FAIL_PATH/YAML_FILE_NAME
Credits
The upload script was refered from “http://www.bogotobogo.com/DevOps/AWS/aws_S3_uploading_large_file.php”
Changelog
1.0a4 (2015-09-28)
Modify command line for sub args
Support listing object on the bucket
Support downloading object on the bucket
1.0a3 (2015-09-22)
Modify logging level from DEBUG to WARNING
1.0a2 (2015-09-08)
First release
1.0a1 (unreleased)
Initial release
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
c2.backup.s3-1.0a4.tar.gz
(4.6 kB
view details)
File details
Details for the file c2.backup.s3-1.0a4.tar.gz
.
File metadata
- Download URL: c2.backup.s3-1.0a4.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 458482057272babc39e2a6f5596cc3763a822a8975ee772b2131b0fac62f7189 |
|
MD5 | 8563e8b1438b8454e870f176b9e25bce |
|
BLAKE2b-256 | e066428f398f88db3f32e81898947f95af502c8692a5f6dace6b363e0ffdcde6 |