Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcarbaugh/s3arch
Backup and archive S3 buckets
https://github.com/jcarbaugh/s3arch
Last synced: 22 days ago
JSON representation
Backup and archive S3 buckets
- Host: GitHub
- URL: https://github.com/jcarbaugh/s3arch
- Owner: jcarbaugh
- License: bsd-3-clause
- Created: 2012-08-09T19:52:17.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-08-09T19:52:36.000Z (over 12 years ago)
- Last Synced: 2024-12-01T09:12:47.982Z (25 days ago)
- Language: Python
- Size: 89.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# s3arch
Utility for creating archival backups of S3 buckets.
## Installation
pip install s3arch
AWS key and secret can be specified by the `-k` and `-s` command line
arguments, `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables, or [`.boto` configuration files](http://docs.pythonboto.org/en/latest/boto_config_tut.html).## Example
Backup and compress *myawesomebucket* bucket to ~/Downloads:
s3arch -o ~/Downloads -z myawesomebucket
## Usage
usage: s3arch.py [-h] [-k KEY] [-s SECRET] [-o PATH]
[-p PREFIX] [-v] [-z]
BUCKET [BUCKET ...]positional arguments:
BUCKET buckets to archiveoptional arguments:
-h, --help show this help message and exit
-k KEY, --key KEY S3 key
-s SECRET, --secret SECRET
S3 secret key
-o PATH, --outputdir PATH
directory in which the archives will be placed
(default is current directory)
-p PREFIX, --prefix PREFIX
prefix added to the local bucket directory name (and
tar archive if -z)
-v verbose output to stdout
-z compress backup with gzip