We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f462a75 + db4cd9d commit 17a4041Copy full SHA for 17a4041
1 file changed
rootfs/docker-entrypoint-initdb.d/003_restore_from_backup.sh
@@ -48,11 +48,11 @@ EOF
48
-o "-c listen_addresses=''" \
49
-t 1200 \
50
-w start
51
-else
52
- echo "No backups found. Performing an initial backup..."
53
- gosu postgres envdir "$WALE_ENVDIR" wal-e backup-push "$PGDATA"
54
fi
55
+echo "Performing an initial backup..."
+gosu postgres envdir "$WALE_ENVDIR" wal-e backup-push "$PGDATA"
+
56
# ensure $PGDATA has the right permissions
57
chown -R postgres:postgres "$PGDATA"
58
chmod 0700 "$PGDATA"
0 commit comments