aboutsummaryrefslogtreecommitdiff
path: root/backup-and-shutdown.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add backup routing before possibly tearing down machineEuAndreh2019-05-281-8/+0
| | | | | | | | | | 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.
* WIP: take a backup during deploymentEuAndreh2019-05-271-0/+8
Before possibly tearing down the machine, while all services are stopped (after the =docker-compose down= command), create a new backup with the current data. The backup tag should include the commit SHA of the deployment.