Skip to content

Commit 198f878

Browse files
committed
backup: only stop the stack for backup
Using docker-compose down/up will recreate the containers, possibly using different images if a manual "docker-compose pull" had been executed.
1 parent 19786e8 commit 198f878

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/backup_restore/post_backup_complete.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ if [ -f "./post_backup.sh" ]; then
77
bash ./post_backup.sh
88
fi
99

10-
docker-compose up -d
10+
docker-compose start

scripts/backup_restore/pre_backup_complete.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# This script runs any prebackup commands you may need
44

5-
docker-compose down
5+
docker-compose stop
66

77
if [ -f "./pre_backup.sh" ]; then
88
echo "./pre_backup.sh file found, executing:"

0 commit comments

Comments
 (0)