From f7ed9ac02bc55e1d76b9c59b316e645aaf7284de Mon Sep 17 00:00:00 2001 From: emkael Date: Sun, 23 Oct 2022 13:29:58 +0200 Subject: S3 backup script for butler DBs --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3