From 1f9d788c872d65ef581503b01ffc5329bedf0cb1 Mon Sep 17 00:00:00 2001 From: supahgreg Date: Tue, 14 Oct 2025 11:51:54 +0000 Subject: PostgreSQL 18 backup wording tweak. --- Installation-Guide.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Installation-Guide.md b/Installation-Guide.md index 72f12d3..00817cc 100644 --- a/Installation-Guide.md +++ b/Installation-Guide.md @@ -454,9 +454,12 @@ docker compose exec db /bin/bash \ -c "export PGPASSWORD=$TTRSS_DB_PASS \ && pg_dump -U $TTRSS_DB_USER $TTRSS_DB_NAME" \ | gzip -9 > backup.sql.gz +``` + +The `backup` container uses the PostgreSQL 17 client, and isn't currently compatible with PostgreSQL 18+. +Something like this following could be ran (from your Docker Compose directory or with `COMPOSE_PROJECT_NAME` defined properly) to back up a PostgreSQL 18 DB: -# NOTE: The 'backup' container uses the PostgreSQL 17 client, and isn't currently compatible with PostgreSQL 18+. -# Something like the following could be ran (typically from your Docker Compose directory) to back up a PostgreSQL 18 DB. +```sh source .env docker run --rm \ --network "${COMPOSE_PROJECT_NAME:-$(basename "$PWD")}_default" \ -- cgit v1.2.3-54-g00ecf