We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 454193c commit b824d13Copy full SHA for b824d13
entrypoint.sh
@@ -532,7 +532,7 @@ appRestore() {
532
waitingForDatabase
533
tar -zxvf "$DATA_DIR/backups/$BACKUP_FILE" -C /tmp
534
psql -h "$DB_HOST" -p "$DB_HOST_PORT" -U "$DB_USER" "$DB_NAME" < "/tmp/$(basename "$BACKUP_FILE" | cut -d. -f1)/database-postgres.sql"
535
- rm -r "/tmp/$(basename | cut -d. -f1)/"
+ rm -r "/tmp/$(basename "$BACKUP_FILE" | cut -d. -f1)/"
536
echo "Restore process succeeded. Exiting."
537
exit 0
538
}
0 commit comments