mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
add logging to database import
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
e47b58312a
commit
edb616b18c
1 changed files with 4 additions and 0 deletions
|
|
@ -52,6 +52,10 @@ if ( [ -f "$DATADIR/PG_VERSION" ] && [ "$PG_MAJOR" != "$(cat "$DATADIR/PG_VERSIO
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Write output to logfile.
|
||||
exec > >(tee -i "$DUMP_DIR/database-import.log")
|
||||
exec 2>&1
|
||||
|
||||
# Inform
|
||||
echo "Restoring from database dump."
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue