Skip to content

Remove Barman Cloud requirement for backup and recovery #4681

Open

Description

@gbartolini

Currently, CloudNativePG operand images ship with Barman Cloud. However, with the new CNPG-I (#3699), we should remove Barman Cloud from the main operand images and make it part of a default available plugin, used both for WAL archiving/restore and base backup/restore.

Activity

  1. converted this from a draft issue on May 25, 2024
  2. modified the milestones: 1.25.0, 1.24.0 on May 25, 2024
  3. moved this to Todo in Roadmapon May 25, 2024
  4. modified the milestones: 1.24.0, 1.25.0 on Jun 5, 2024
  5. moved this from Todo to In Progress in Roadmapon Nov 28, 2024
  6. 25 remaining items

  7. added this to the Now milestone on Dec 12, 2025
  8. gbartolini commented on Mar 4, 2026

    @gbartolini
    ContributorAuthor

    Even 1.29 cannot be met. Let's change the operator to target 1.30.

  9. modified the milestones: Now, 1.30.0 on Mar 4, 2026
  10. modified the milestones: 1.30.0, 1.31.0 on May 29, 2026
  11. gbartolini commented on May 29, 2026

    @gbartolini
    ContributorAuthor

    Coming to the end of May, it is unrealistic to complete this activity by the end of June. Moving this to 1.31.0, which forces us to maintain Barman Cloud in core for another release.

  12. AnizR commented on Jul 1, 2026

    @AnizR

    Hi,

    I am currently planning my migration to the new Barman Cloud plugin, and I wanted to add some feedback regarding the upgrade lifecycle of CNPG-I plugins.

    In my current setup, I rely heavily on ENABLE_INSTANCE_MANAGER_INPLACE_UPDATES to ensure that core CNPG controller updates don't cause cascading pod restarts or unexpected database switchovers.

    However, because the Barman plugin architecture introduces a sidecar container (plugin-barman-cloud), any update to the plugin image alters the PodSpec. This completely bypasses the in-place update mechanism and forces a rolling restart of the Postgres cluster.

    Having the Postgres cluster restart for a backup-plugin update is a significant issue for me.

    For high-availability, large-scale production databases, minimizing switchovers and restart is critical. It would be amazing if the plugin architecture could eventually support an in-place update mechanism similar to the instance manager, or if the sidecar binaries could be updated without triggering a Kubernetes PodSpec mutation that forces pod restarts.

    Have you think about this or do you have any 'mitigation'?

    Thanks for all the great work on this operator!

  13. gbartolini commented on Oct 15, 2026

    @gbartolini
    ContributorAuthor

    Hi @AnizR,

     For high-availability, large-scale production databases, minimizing switchovers and restart is critical. It would be amazing if the plugin architecture could eventually support an in-place update mechanism similar to the instance manager, or if the sidecar binaries could be updated without triggering a Kubernetes `PodSpec` mutation that forces pod restarts.
     Have you think about this or do you have any 'mitigation'?
    

    Yes, we have and the solution unfortunately requires work to be done in the operator, and not limited to just the Barman Cloud plugin (ideally, we want to cover also the Postgres instance - which could/should run in a separate container in the instance pod). Hopefully, we can get this done in 1.32.

     Thanks for all the great work on this operator!
    

    Much appreciated. Thanks!

  14. gbartolini commented on Oct 15, 2026

    @gbartolini
    ContributorAuthor

    We have decided that 1.31 will be the last minor release of CloudNativePG to ship with native support for Barman Cloud plugin. So I am moving this to 1.32.0.

  15. modified the milestones: 1.31.0, 1.32.0 on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

Projects

  • Status
    Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions