2019.5.22 • Published 7 years agoCLI
backup-to-s3
Licence
Unlicense
Version
2019.5.22
Deps
0
Size
3 kB
Vulns
0
Weekly
0
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