2019.5.22 • Published 5 years ago
backup-to-s3 v2019.5.22
backup to S3
Installation
$ [sudo] pip install backup-to-s3
How it works
<s3-bucket-name>/<slug>/<year>/<year-month>/<year-month-day>/name-<datetime>.tar.gz
Config
environment variables (optional):
variable | description | default value |
---|---|---|
BACKUP_TO_S3_BUCKET | s3 bucket name | backup-to-s3-<account-id> |
BACKUP_TO_S3_EXCLUDE_FROM | exclude patterns | $XDG_CONFIG_HOME/backup-to-s3/exclude.txt , e.g. ~/.config/backup-to-s3/exclude.txt |
Scripts usage
usage: backup-to-s3 path ...
Examples
$ cd ~
$ backup-to-s3 git