Skip to content

Ability to work only with a master/replica #637

Open
@rus-99-pk

Description

@rus-99-pk

Hello!

How i can create a backup from the master only using a Patroni cluster?

Activity

konsmalakhov

konsmalakhov commented on Dec 20, 2024

@konsmalakhov

Hello!

How i can create a backup from the master only using a Patroni cluster?

set up a backup to the address behind the load balancer that you use for patroni

bomuva

bomuva commented on Mar 6, 2025

@bomuva

set up a backup to the address behind the load balancer that you use for patroni

It is impossible due to dynamic role allocation in patroni (the master role can switch between the different nodes)

A possible solution is to use the virtual cluster "IP+port" pointed to the master node. This worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @bomuva@rus-99-pk@konsmalakhov

        Issue actions

          Ability to work only with a master/replica · Issue #637 · postgrespro/pg_probackup