From 83b0be5ae5abecd2076cab8b7ab2a84e9756034a Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 28 May 2019 00:46:24 -0300 Subject: Add backup routing before possibly tearing down machine Create a new backup entry before running =terraform apply=, which may (or may not) destroy the current machine. This shouldn't be an issue for the backup itself, since all of the data should be stored in a separate Block Storage Volume, but we can take advantage of the sevices already needing to be taken down in order to perform a full backup of the data. --- backup-and-shutdown.sh | 8 -------- 1 file changed, 8 deletions(-) delete mode 100755 backup-and-shutdown.sh (limited to 'backup-and-shutdown.sh') diff --git a/backup-and-shutdown.sh b/backup-and-shutdown.sh deleted file mode 100755 index c880a16..0000000 --- a/backup-and-shutdown.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/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" -- cgit v1.3