mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Write output to logfile.
|
||||||
|
exec > >(tee -i "$DUMP_DIR/database-import.log")
|
||||||
|
exec 2>&1
|
||||||
|
|
||||||
# Inform
|
# Inform
|
||||||
echo "Restoring from database dump."
|
echo "Restoring from database dump."
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue