Mercurial > public > ssdt-docker
comparison scripts/backup-container.sh @ 280:7710677f147c
remove debugging display
author | smith@nwoca.org |
---|---|
date | Thu, 15 Nov 2018 20:03:41 +0000 |
parents | 7723b18b112b |
children | 4cc087cde1d0 |
comparison
equal
deleted
inserted
replaced
279:d6d8468441b1 | 280:7710677f147c |
---|---|
18 set -o pipefail | 18 set -o pipefail |
19 mkdir -p ./backup | 19 mkdir -p ./backup |
20 backupFile=./backup/${container}.$(date +%Y-%m-%d-%H-%M-%S).backup | 20 backupFile=./backup/${container}.$(date +%Y-%m-%d-%H-%M-%S).backup |
21 | 21 |
22 echo "preparing to backup ${container} on current project at ${projectDir}:" | 22 echo "preparing to backup ${container} on current project at ${projectDir}:" |
23 docker-compose ps | |
24 echo " " | 23 echo " " |
25 | 24 |
26 project=$(composeGetProject) | 25 project=$(composeGetProject) |
27 | 26 |
28 if [ "$project" == "" ]; then | 27 if [ "$project" == "" ]; then |