Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note about need for pg-force-version to pgbackrest instructions #4587

Merged
merged 2 commits into from
Jan 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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