mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-19 20:07:55 +08:00
Merge pull request #1472 from nextcloud/enh/1469/add-lock-file-hint
add a hint what to do if the backup container was forcefully killed
This commit is contained in:
commit
5c966bc1f8
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@ export PGPASSWORD="$POSTGRES_PASSWORD"
|
|||
# Don't start database as long as backup is running
|
||||
while [ -f "$DUMP_DIR/backup-is-running" ]; do
|
||||
echo "Waiting for backup container to finish..."
|
||||
echo "If this is incorrect because the backup container is not running anymore (because it was forcefully killed), you might delete the lock file which is by default stored here:"
|
||||
echo "/var/lib/docker/volumes/nextcloud_aio_database_dump/_data/backup-is-running"
|
||||
sleep 10
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue