# Percona for MongoDB new PBM agent version

**URL:** <https://forums.percona.com/t/percona-for-mongodb-new-pbm-agent-version/30363>\
**Category:** Percona Backup for MongoDB\
**Created:** [May 16, 2024, 2:12pm UTC](https://forums.percona.com/t/percona-for-mongodb-new-pbm-agent-version/30363 "2024-05-16T14:12:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maksim\_Galaktionov](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/maksim_galaktionov/32/13120_2.png) [@Maksim\_Galaktionov](https://forums.percona.com/u/Maksim_Galaktionov)\
**Post date:** [May 16, 2024, 2:12pm UTC](https://forums.percona.com/t/percona-for-mongodb-new-pbm-agent-version/30363/1 "2024-05-16T14:12:16Z")

</div>

I updated the agent to 2.4.1 and used it to create the backup. But I got an error with restore.

```auto
Starting restore 2024-05-03T06:20:56.049824035Z from '2024-05-02T13:37:33Z'
.
.Error: waiting for start: cluster failed: waiting for start: cluster failed: failed to ensure oplog file 2024-05-02T13:37:33Z/multi-sa/oplog: no such file
- Restore on replicaset "multi-sa" in state: error: failed to ensure oplog file 2024-05-02T13:37:33Z/multi-sa/oplog: no such file

```

As far as I can see, the structure of the backup has changed and the oplog is now in a separate folder. Can you tell me how i can to resolve this problem?

My backup is stored in an AWS s3 bucket.  
This is my PBM configuration

```auto
pitr:
  enabled: false
  oplogSpanMin: 0
  compression: s2
storage:
  type: s3
  s3:
    provider: aws
    region: us-east-1
    forcePathStyle: true
    bucket: my-bucket-name
    prefix: data/pbm/backup
    credentials:
      access-key-id: '***'
      secret-access-key: '***'
    serverSideEncryption:
      sseAlgorithm: aws:kms
      kmsKeyID: mrk-29b3e420db51446290e16f6b0cbc1a2f
      sseCustomerAlgorithm: ""
      sseCustomerKey: ""
    maxUploadParts: 10000
    storageClass: STANDARD
    insecureSkipTLSVerify: false
backup:
  oplogSpanMin: 0
  compression: s2

```

I had a few experiments with oplog settings, but it didn’t help.

I see the previous backup and there it looked like one file

---

<div class="post-metadata">

**Author:** ![Maksim\_Galaktionov](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/maksim_galaktionov/32/13120_2.png) [@Maksim\_Galaktionov](https://forums.percona.com/u/Maksim_Galaktionov)\
**Post date:** [May 19, 2024, 6:28pm UTC](https://forums.percona.com/t/percona-for-mongodb-new-pbm-agent-version/30363/2 "2024-05-19T18:28:25Z")

</div>

@Dmytro_Zghoba maybe you can help me here too?  
we are just trying to switch to backups using your service, but I just can’t finish it because of some errors =(

Or maybe someone else has encountered this problem and can advise?  
I will be glad to any advice

---

<div class="post-metadata">

**Author:** ![Maksim\_Galaktionov](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/maksim_galaktionov/32/13120_2.png) [@Maksim\_Galaktionov](https://forums.percona.com/u/Maksim_Galaktionov)\
**Post date:** [May 27, 2024, 7:27am UTC](https://forums.percona.com/t/percona-for-mongodb-new-pbm-agent-version/30363/3 "2024-05-27T07:27:16Z")

</div>

Hi all. That was my fault. The version of the agent on the shards was old, but on the config server it was new. I ran tests with the new version and everything is fine now. I apologize for this post.
