Skip to content

Commit

Permalink
Merge pull request #4587 from yuki-tei/yuki-tei-patch-1
Browse files Browse the repository at this point in the history
Add note about need for pg-force-version to pgbackrest instructions
  • Loading branch information
nidhibhammar authored Jan 30, 2024
2 parents 8ecfed3 + bf8ab4c commit 4e7138e
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +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
```
Expand Down

1 comment on commit 4e7138e

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.