This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euxo pipefail | |
echo -e "Let's get a backup created for your data, just in case!\n" | |
echo -e "Shutting down the app...\n" | |
# First, shut down the app if it's running. | |
docker compose -f docker-compose.yml -f docker-optional-app.yaml down | |
echo -e "Creating a backup of the docker volume.\n" |