2019.5.22 • Published 5 years ago

backup-to-s3 v2019.5.22

Weekly downloads
2
License
Unlicense
Repository
-
Last release
5 years ago

npm.io

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):

variabledescriptiondefault value
BACKUP_TO_S3_BUCKETs3 bucket namebackup-to-s3-<account-id>
BACKUP_TO_S3_EXCLUDE_FROMexclude 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