Skip to content

Commit

Permalink
Merge pull request #17 from pvcy/jc/log-when-backup-is-complete
Browse files Browse the repository at this point in the history
Add log to make it clear when restore is finished
  • Loading branch information
john-craft authored Nov 15, 2024
2 parents 1067cd3 + 3d79b46 commit 3a9e85e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db/restore-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ if [ "$RESTORE_FROM_BACKUP" == "True" ]; then
# Restore the dump using pg_restore (or psql depending on the dump format)
echo "Restore backup"
pg_restore -U $POSTGRES_USER -d $POSTGRES_DB /tmp/dump.backup
echo "Database restore completed"
fi

# Wait for the PostgreSQL process to complete
Expand Down

0 comments on commit 3a9e85e

Please sign in to comment.