# Having difficulties enabling backups with MongoDB Operator 1.10 (header errors)

**URL:** <https://forums.percona.com/t/having-difficulties-enabling-backups-with-mongodb-operator-1-10-header-errors/12996>\
**Category:** Percona Operator for MongoDB\
**Tags:** mongodb\
**Created:** [November 14, 2021, 8:05am UTC](https://forums.percona.com/t/having-difficulties-enabling-backups-with-mongodb-operator-1-10-header-errors/12996 "2021-11-14T08:05:07Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Duc\_Ngo](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/duc_ngo/32/5242_2.png) [@Duc\_Ngo](https://forums.percona.com/u/Duc_Ngo)\
**Post date:** [December 3, 2021, 10:43am UTC](https://forums.percona.com/t/having-difficulties-enabling-backups-with-mongodb-operator-1-10-header-errors/12996/3 "2021-12-03T10:43:41Z")

</div>

I have the same error when run backup command  
`kubectl apply -f backup/backup.yaml`

Here is my cr.yaml on storages section

```auto
backup:
    enabled: true
    restartOnFailure: true
    image: percona/percona-server-mongodb-operator:1.10.0-backup
    serviceAccountName: percona-server-mongodb-operator
# resources:
# limits:
# cpu: "300m"
# memory: "0.5G"
# requests:
# cpu: "300m"
# memory: "0.5G"
    storages:
      s3-us-west:
        type: s3
        s3:
          bucket: mongodbs-backup-test
          credentialsSecret: mongodbs-backup-s3
          region: us-west-2
          prefix: ""

```

and here is secrete config file

```auto
apiVersion: v1
kind: Secret
metadata:
  name: mongodbs-backup-s3
type: Opaque
data:
  AWS_ACCESS_KEY_ID: <MY BASE64 ENCODED KEY>
  AWS_SECRET_ACCESS_KEY: <MY BASE64 ENCODED KEY>

```

---

_[View the full topic](https://forums.percona.com/t/having-difficulties-enabling-backups-with-mongodb-operator-1-10-header-errors/12996)._
