summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2022-10-23 13:29:58 +0200
committeremkael <emkael@tlen.pl>2022-10-23 13:29:58 +0200
commitf7ed9ac02bc55e1d76b9c59b316e645aaf7284de (patch)
tree1186315bf414422d6f80d5effa727e2d8b1df08f /Makefile
parent958f4509286b2e45c805d6dc583be3b5e570db25 (diff)
S3 backup script for butler DBs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index eb1d4ce..c71f563 100644
--- a/Makefile
+++ b/Makefile
@@ -21,8 +21,12 @@ lineups: FORCE
checks: paid teams lineups
+backups: FORCE
+ ./dumps/backup-dbs.sh
+ s3cmd -c dumps/.s3config --exclude="*/*" sync dumps/backup/ ${LIGA_S3_BACKUP_BUCKET}
+
dumps: FORCE
- s3cmd -c dumps/.s3config sync ${LIGA_S3_BUCKET} dumps/sync/
+ s3cmd -c dumps/.s3config --exclude="*/*" sync ${LIGA_S3_BUCKET} dumps/sync/
./dumps/load-dumps.sh
butler: FORCE