We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03ddca5 commit a9256f2Copy full SHA for a9256f2
1 file changed
rootfs/docker-entrypoint-initdb.d/003_restore_from_backup.sh
@@ -19,8 +19,6 @@ if [[ $(envdir "$WALE_ENVDIR" wal-e --terse backup-list | wc -l) -gt "1" ]]; the
19
gosu postgres pg_ctl -D "$PGDATA" -w stop
20
rm -rf "$PGDATA"
21
envdir "$WALE_ENVDIR" wal-e backup-fetch "$PGDATA" LATEST
22
- chown -R postgres:postgres "$PGDATA"
23
- chmod 0700 "$PGDATA"
24
cat << EOF > "$PGDATA/postgresql.conf"
25
# These settings are initialized by initdb, but they can be changed.
26
log_timezone = 'UTC'
0 commit comments