summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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