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

Downward compatibility pgBackRest repository host to DB servers #2294

Open
Skado003 opened this issue Mar 6, 2024 · 2 comments
Open

Downward compatibility pgBackRest repository host to DB servers #2294

Skado003 opened this issue Mar 6, 2024 · 2 comments
Assignees
Labels

Comments

@Skado003
Copy link

Skado003 commented Mar 6, 2024

Please provide the following information when submitting an issue (feature requests or general comments can skip this):

  1. pgBackRest version: 2.49

  2. PostgreSQL version: 15.5

  3. Operating system/version - if you have more than one server (for example, a database server, a repository host server, one or more standbys), please specify each: both DB and repository host: Ubuntu 22.04.3 LTS

  4. Did you install pgBackRest from source or from a package? Package

  5. Please attach the following as applicable:

    • pgbackrest.conf file(s)
    • postgresql.conf settings applicable to pgBackRest (archive_command, archive_mode, listen_addresses, max_wal_senders, wal_level, port)
    • errors in the postgresql log file before or during the time you experienced the issue
    • log file in /var/log/pgbackrest for the commands run (e.g. /var/log/pgbackrest/mystanza_backup.log)
  6. Describe the issue:
    Question:
    For the repository host it is mentioned in documentation:
    "NOTE:
    The pgBackRest version installed on the repository host must exactly match the version installed on the PostgreSQL host."
    We make use of multiple DB servers and 1 repository host. DB servers are patched for PostgreSQL and pgBackRest packages at different times. This leads to issues with backup. It would be very helpfull when there would be some kind of downwards compatibility. So where the pgbackrest version on repository is allowed to be (slightly) higher then the ones on the DB servers.
    Is this something which can be implemented?

@dwsteele dwsteele self-assigned this Mar 6, 2024
@dwsteele
Copy link
Member

dwsteele commented Mar 6, 2024

Is this something which can be implemented?

In theory, yes, but only at a major cost to feature work. As implemented, the remotes are very "smart" which means that wide variety of changes are protocol breaking changes. So, we'd need to make the remotes less functional or somehow version all those changes. Last time I surveyed this we were making breaking changes at least every other release or so.

We've been working to make the remote functionality more isolated, but there are still some big protocol changes coming in this area, all of which would be virtually impossible to make backward compatible.

So, in short, this is something that we are planning/hoping for but I don't see it happening any time soon.

@Skado003
Copy link
Author

Skado003 commented Mar 7, 2024

Thx for your answer David.
It makes clear for us how to proceed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants