summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2020-10-08 22:28:09 +0200
committeremkael <emkael@tlen.pl>2020-10-08 22:28:09 +0200
commitd0f4f64a6f946d56a5a7304eb07edda66e725b4b (patch)
treeb048cc1016590d82a388084aae93bd1a14a89dfb /Makefile
parent47c8a3673dcb46436f0ddebe9a417af6cd601416 (diff)
Database dump pull script (S3 -> MySQL)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ade5a4c..21024bc 100644
--- a/Makefile
+++ b/Makefile
@@ -6,4 +6,8 @@ pull:
autocommit: pull
@cd http && git diff --quiet || (git add . && git commit -m 'Autocommit' && git push)
+dumps: FORCE
+ s3cmd -c dumps/.s3config sync ${LIGA_S3_BUCKET} dumps/sync/
+ ./dumps/load-dumps.sh
+
FORCE: