aboutsummaryrefslogtreecommitdiff
path: root/backup-and-shutdown.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backup-and-shutdown.sh')
-rwxr-xr-xbackup-and-shutdown.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/backup-and-shutdown.sh b/backup-and-shutdown.sh
new file mode 100755
index 0000000..c880a16
--- /dev/null
+++ b/backup-and-shutdown.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+set -Eeuo pipefail
+cd "$(dirname "${BASH_SOURCE[0]}")"
+
+echo "FIXME: get current backup"
+echo docker-compose down
+echo "FIXME: create a new backup"
+echo "FIXME: rsync back new backup"