From 07b2cd4ae2a04212e2d621265d51353e98ef86fa Mon Sep 17 00:00:00 2001 From: yuki-tei <57980555+yuki-tei@users.noreply.github.com> Date: Tue, 8 Aug 2023 10:36:32 +0900 Subject: [PATCH 1/2] Update 03-quick_start.mdx Currently the EPAS newest major release is v15, hence pg-version-force option should be added to pgbackuprest.conf to solve below issue. https://github.com/pgbackrest/pgbackrest/issues/2032 --- .../supported-open-source/pgbackrest/03-quick_start.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/advocacy_docs/supported-open-source/pgbackrest/03-quick_start.mdx b/advocacy_docs/supported-open-source/pgbackrest/03-quick_start.mdx index 1a9204f5f5f..c874b5e4133 100644 --- a/advocacy_docs/supported-open-source/pgbackrest/03-quick_start.mdx +++ b/advocacy_docs/supported-open-source/pgbackrest/03-quick_start.mdx @@ -31,6 +31,7 @@ repo1-path=/var/lib/edb/as13/backups pg1-path=/var/lib/edb/as13/data pg1-user=enterprisedb pg1-port=5444 +pg-version-force=15 ``` For **PostgreSQL**: From bf8ab4c0485e14c4eafbdf0d4a180bf22cb80bbf Mon Sep 17 00:00:00 2001 From: Dj Walker-Morgan <126472455+djw-m@users.noreply.github.com> Date: Tue, 19 Sep 2023 18:23:49 +0100 Subject: [PATCH 2/2] Added notes on what to set pg-verrsion-force to. --- .../pgbackrest/03-quick_start.mdx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/advocacy_docs/supported-open-source/pgbackrest/03-quick_start.mdx b/advocacy_docs/supported-open-source/pgbackrest/03-quick_start.mdx index c874b5e4133..30fb3d55514 100644 --- a/advocacy_docs/supported-open-source/pgbackrest/03-quick_start.mdx +++ b/advocacy_docs/supported-open-source/pgbackrest/03-quick_start.mdx @@ -25,23 +25,25 @@ For **EDB Postgres Advanced Server**: ```ini [global] -repo1-path=/var/lib/edb/as13/backups +repo1-path=/var/lib/edb/as15/backups [demo] -pg1-path=/var/lib/edb/as13/data +pg1-path=/var/lib/edb/as15/data pg1-user=enterprisedb pg1-port=5444 pg-version-force=15 ``` +The `pg-version-force` value should be set to the same major version number as the server reports when using `show server_version_num;` in PSQL. Only the first two digits are the major version. For example, 15000 is major version 15. + For **PostgreSQL**: ```ini [global] -repo1-path=/var/lib/pgsql/13/backups +repo1-path=/var/lib/pgsql/15/backups [demo] -pg1-path=/var/lib/pgsql/13/data +pg1-path=/var/lib/pgsql/15/data pg1-user=postgres pg1-port=5432 ```