/
DirectorySecurity AdvisoriesPricing
Sign inRequest a trial
Directory
plugin-barman-cloud logo

plugin-barman-cloud

Last changed

Request a free trial

Contact our team to test out this image for free. Please also indicate any other images you would like to evaluate.

Request trial
Tags
Overview
Comparison
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Chainguard Container for plugin-barman-cloud

Wolfi-based image for the CloudNativePG Barman Cloud Plugin, which extends CloudNativePG with advanced backup and recovery capabilities using barman-cloud.

Chainguard Containers are regularly-updated, secure-by-default container images.

Download this Container Image

For those with access, this container image is available on cgr.dev:

docker pull cgr.dev/ORGANIZATION/plugin-barman-cloud:latest

Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.

Compatibility Notes

The Chainguard plugin-barman-cloud image is a drop-in replacement for the official plugin-barman-cloud image. It provides the same barman-cloud functionality for PostgreSQL backup and recovery operations in CloudNativePG clusters.

Getting Started

Prerequisites

Ensure CloudNativePG operator is installed:

  • CloudNativePG operator version 1.26 or newer
  • cert-manager installed in the cluster for webhook certificates
  • An S3-compatible object storage (AWS S3, MinIO, GCS, Azure Blob)
kubectl apply --server-side -f https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.26/releases/cnpg-1.26.0.yaml

Installing the Plugin

Deploy the plugin with the Chainguard image in a single step using sed to replace the image:

# Deploy with Chainguard image directly
curl -fsSL https://github.com/cloudnative-pg/plugin-barman-cloud/releases/download/v0.5.0/manifest.yaml | \
  sed "s|^\([[:space:]]*image:\).*|\1 cgr.dev/<ORGANIZATION>/plugin-barman-cloud:latest|" | \
  kubectl apply -f -

This command fetches the official manifest and replaces the image reference with the Chainguard image before applying it to the cluster.

Using the Plugin

Create an ObjectStore resource pointing to your S3 storage:

apiVersion: barmancloud.cnpg.io/v1
kind: ObjectStore
metadata:
  name: backup-store
spec:
  configuration:
    destinationPath: s3://my-bucket/backups
    endpointURL: https://s3.amazonaws.com  # Or MinIO endpoint
    s3Credentials:
      accessKeyId:
        name: backup-creds
        key: ACCESS_KEY_ID
      secretAccessKey:
        name: backup-creds
        key: SECRET_ACCESS_KEY

Configure a PostgreSQL cluster to use the plugin for backups:

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  name: pg-cluster
spec:
  instances: 3
  plugins:
  - name: barman-cloud.cloudnative-pg.io
    isWALArchiver: true
    parameters:
      barmanObjectName: backup-store

Documentation and Resources

What are Chainguard Containers?

Chainguard Containers are minimal container images that are secure by default.

In many cases, the Chainguard Containers tagged as :latest contain only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager. Chainguard Containers are built with Wolfi, our Linux undistro designed to produce container images that meet the requirements of a more secure software supply chain.

The main features of Chainguard Containers include:

For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a -dev variant.

Although the -dev container image variants have similar security features as their more minimal versions, they feature additional software that is typically not necessary in production environments. We recommend using multi-stage builds to leverage the -dev variants, copying application artifacts into a final minimal container that offers a reduced attack surface that won’t allow package installations or logins.

Learn More

To better understand how to work with Chainguard Containers, please visit Chainguard Academy and Chainguard Courses.

In addition to Containers, Chainguard offers VMs and Libraries. Contact Chainguard to access additional products.

Trademarks

This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.

Licenses

Chainguard container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:

  • Apache-2.0

  • LGPL-2.1-or-later

  • MIT

  • MPL-2.0

For a complete list of licenses, please refer to this Image's SBOM.

Software license agreement

Category
application

Safe Source for Open Sourceâ„¢
Contact us
© 2025 Chainguard. All Rights Reserved.
Private PolicyTerms of Use

Products

Chainguard ContainersChainguard LibrariesChainguard VMs