From d0f4f64a6f946d56a5a7304eb07edda66e725b4b Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 8 Oct 2020 22:28:09 +0200 Subject: Database dump pull script (S3 -> MySQL) --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') 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: -- cgit v1.2.3