plugin-barman-cloud
plugin-barman-cloud copied to clipboard
Barman Cloud CNPG-I backup plugin
POD: clusters-5 ``` {"level":"info","ts":"2025-09-08T14:40:37.005964235Z","logger":"postgres","msg":"record","logging_pod":"clusters-5","record":{"log_time":"2025-09-08 14:40:37.005 UTC","user_name":"postgres","database_name":"postgres","process_id":"174","connection_from":"[local]","session_id":"68beeae4.ae","session_line_num":"1","session_start_time":"2025-09-08 14:40:36 UTC","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}} {"level":"info","ts":"2025-09-08T14:40:37.006963744Z","msg":"Instance is still down, will retry in 1 second","logger":"instance-manager","logging_pod":"clusters-5","controller":"instance-cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"clusters","namespace":"clusters-database"},"namespace":"clusters-database","name":"clusters","reconcileID":"a35efe9a-0bb0-4765-a97a-4a21db70495a","instance":"clusters-5","cluster":"clusters","namespace":"clusters-database","logging_pod":"clusters-5"} {"level":"info","ts":"2025-09-08T14:40:37.129448342Z","logger":"postgres","msg":"record","logging_pod":"clusters-5","record":{"log_time":"2025-09-08 14:40:37.129 UTC","process_id":"42","session_id":"68beeadd.2a","session_line_num":"4","session_start_time":"2025-09-08 14:40:29 UTC","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"restored log file...
I am testing restore from an S3 bucket with the plugin, using the documented restore procedure, from a a working backup archive, cluster and objectstore spec available in [this issue](https://github.com/cloudnative-pg/plugin-barman-cloud/issues/502)...
I tried to restore from an external cluster. For this I created 2 ObjectStore objects: `s3-postgres-backup` and `old-s3`. I added `s3-postgres-backup` into `.spec.plugins.parameters.barmanObjectName` section, and `old-s3` into `.spec.externalClusters.plugin.parameters.barmanObjectName`. Here is...
Follow-up on https://github.com/cloudnative-pg/plugin-barman-cloud/issues/391 Hello, I understand I can modify the location of the sidecar image with an env variable in the operator deployment and it works fine with our lab...
cnpg version 1.27 plugin-barman-cloud v0.6.0 Given a backup ``` apiVersion: postgresql.cnpg.io/v1 kind: Backup metadata: labels: cnpg.io/cluster: db1 name: db1-20250903144632 namespace: db-staging spec: cluster: name: db1 method: plugin pluginConfiguration: name: barman-cloud.cloudnative-pg.io...
The old Barman Cloud plugin does not automatically separate archives during major upgrades. To preserve pre-upgrade backups and keep archives clean, changing the serverName parameter is needed. Is this also...
due to a memory problem I wanted to set the BarmanObjectstore `.spec.instanceSidecarConfiguration.logLevel: trace` after applying the logLevel, it was set at the ObjectStore but the sidecar did not change after...
I have applied the following configuration to my cluster in order to enable WAL archiving. My Object storage is S3, CNPG is running in EKS, and I want to configure...
{"level":"error","ts":"2025-08-08T02:41:53.322975793Z","msg":"Error while handling GRPC request","logging_pod":"cluster-example-1","info":{"Server":{"Client":{"Client":{}},"InstanceName":"cluster-example-1","SpoolDirectory":"/controller/wal-restore-spool","PGDataPath":"/var/lib/postgresql/data/pgdata","PGWALPath":"/var/lib/postgresql/data/pgdata/pg_wal"},"FullMethod":"/cnpgi.wal.v1.WAL/Restore"},"error":"WAL file not found","stacktrace":"github.com/cloudnative-pg/machinery/pkg/log.(*logger).Error\n\t/go/pkg/mod/github.com/cloudnative-pg/[email protected]/pkg/log/log.go:125\ngithub.com/cloudnative-pg/cnpg-i-machinery/pkg/pluginhelper/http.(*Server).Start.logFailedRequestsUnaryServerInterceptor.func2\n\t/go/pkg/mod/github.com/cloudnative-pg/[email protected]/pkg/pluginhelper/http/grpc.go:51\ngoogle.golang.org/grpc.NewServer.chainUnaryServerInterceptors.chainUnaryInterceptors.func1\n\t/go/pkg/mod/google.golang.org/[email protected]/server.go:1208\ngithub.com/cloudnative-pg/cnpg-i/pkg/wal._WAL_Restore_Handler\n\t/go/pkg/mod/github.com/cloudnative-pg/[email protected]/pkg/wal/wal_grpc.pb.go:214\ngoogle.golang.org/grpc.(*Server).processUnaryRPC\n\t/go/pkg/mod/google.golang.org/[email protected]/server.go:1405\ngoogle.golang.org/grpc.(*Server).handleStream\n\t/go/pkg/mod/google.golang.org/[email protected]/server.go:1815\ngoogle.golang.org/grpc.(*Server).serveStreams.func2.1\n\t/go/pkg/mod/google.golang.org/[email protected]/server.go:1035"}
Hi, Pruning of old backups is broken right now. I have attached the details of my deployment: ``` ❯ k cnpg version Build: {Version:1.25.0 Commit:bad5a251 Date:2024-12-23} ``` ``` Image ID:...