Skip to main content

S3 To S3 Backup

Project description

https://travis-ci.org/YD-Technology/s3tos3backup.png?branch=master https://coveralls.io/repos/YD-Technology/s3tos3backup/badge.png?branch=master Bitdeli badge

s3tos3backup is a tool for managing backups for Amazon S3 storage with IAM role support.

Usage

Simple

s3tos3backup

With all options at runtime

s3tos3backup --access_key=FOO --secret_key=BAR -b BAZ -o 14

Supported options

-c FILE, --config FILE Config file name. Defaults to ~/.s3tos3backup
--access_key AWS_ACCESS_KEY AWS Access Key
--secret_key AWS_SECRET_KEY AWS Secret Key
-b BUCKET_NAME, --bucket BUCKET_NAME Bucket name
-o REMOVE_OLDER_DAYS, --remove-older-days REMOVE_OLDER_DAYS Remove backups older than days
-v, --verbose         Enable verbose output
-d, --debug           Enable debug output
--remove-only         Remove only old backups. Do not do a backup
--backup-only         Do a backup. Do not remove only old backups
--configure           Save configuration and exit

Configuration

[main]
access_key = FOO
secret_key = BAR
bucket_name = BAZ
remove_older_days = 14

Development

Running tests

python setup.py test

Running PEP8 checker

pep8 --config=pep8.rc src/s3tos3backup

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

s3tos3backup-1.0.tar.gz (7.8 kB view hashes)

Uploaded Source

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