# Need help with configuring s3 backup with operator 2.2

**URL:** <https://forums.percona.com/t/need-help-with-configuring-s3-backup-with-operator-2-2/23565>\
**Category:** PostgreSQL\
**Tags:** closed-no-reply\
**Created:** [July 12, 2023, 11:53am UTC](https://forums.percona.com/t/need-help-with-configuring-s3-backup-with-operator-2-2/23565 "2023-07-12T11:53:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Slavisa\_Milojkovic](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/slavisa_milojkovic/32/7097_2.png) [@Slavisa\_Milojkovic](https://forums.percona.com/u/Slavisa_Milojkovic)\
**Post date:** [July 12, 2023, 11:53am UTC](https://forums.percona.com/t/need-help-with-configuring-s3-backup-with-operator-2-2/23565/1 "2023-07-12T11:53:33Z")

</div>

Hi, I’m having trouble configuring s3 backup as repo2.

I added s3 keys to a secret:

```auto
backups:
  pgbackrest:
# metadata:
# labels:
    image: ""
    configuration:
      secret:
        name: "pgo-s3-creds"

```

this is in secret:  
s3.conf

```auto
[global]
repo2-s3-key=xxxx
repo2-s3-key-secret=xxxx

```

I also defined repo2:

```auto
    - name: repo2
      schedules:
        full: "0 0 * * 6"
        differential: "0 1 * * 1-6"        
      s3:
        bucket: "backup"
        endpoint: "https://minio.mydomain.com"
        region: "xxxx-us"

```

but I had error log that SSL can’t be verified,

```auto
ERROR: [095]: unable to verify certificate presented by 'backup.minio.mydomain.com:443': [18] self signed certificate\n

```

so I tried:

```auto
    global:
      repo1-retention-full: "14"
      repo2-storage-verify-tls: "n"

```

but then I get:

```auto
Error: UPGRADE FAILED: error validating "": error validating data: ValidationError(PerconaPGCluster.spec.backups.pgbackrest.global): invalid type for com.percona.pgv2.v2.PerconaPGCluster.spec.backups.pgbackrest.global: got "string", expected "map"

```

There is some error parsing helm template when using values.yaml. Please let me know if you have any idea how to solve this. Thanks

---

<div class="post-metadata">

**Author:** ![mboncalo](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mboncalo/32/16954_2.png) [@mboncalo](https://forums.percona.com/u/mboncalo)\
**Post date:** [June 14, 2024, 7:13am UTC](https://forums.percona.com/t/need-help-with-configuring-s3-backup-with-operator-2-2/23565/2 "2024-06-14T07:13:47Z")

</div>

Hi,

I am having the same issue…  
Is Minio supported as S3 backup storage ?  
I can’t find a way to specify the CABundle for S3
