# Cannot restore from incremental backup.PBM and PSMDB in the same pod

**URL:** https://forums.percona.com/t/cannot-restore-from-incremental-backup-pbm-and-psmdb-in-the-same-pod/28041
**Category:** Percona Backup for MongoDB
**Tags:** percona, mongodb, pbm
**Created:** [January 26, 2024, 9:42am UTC](https://forums.percona.com/t/cannot-restore-from-incremental-backup-pbm-and-psmdb-in-the-same-pod/28041 "2024-01-26T09:42:53Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Iliterallyneedhelp](https://avatars.discourse-cdn.com/v4/letter/i/9d8465/32.png) [@Iliterallyneedhelp](https://forums.percona.com/u/Iliterallyneedhelp)
#### Post date: [January 26, 2024, 11:41am UTC](https://forums.percona.com/t/cannot-restore-from-incremental-backup-pbm-and-psmdb-in-the-same-pod/28041/3 "2024-01-26T11:41:16Z")

</div>

Hi @Dmytro_Zghoba

Thanks for your answer. I finally realized why mongod is required in PBM Agent container, and the below one was the issue indeed. I used your response from the past as an example

> [@Cant execute incremental backup](https://forums.percona.com/t/cant-execute-incremental-backup/25702/9):
>
> @Dmytro_Zghoba any ideas?

> PBM Agent container has the same **mongod** binary as the PSMDB container. And its **$PATH** contains the **mongod** (i.e., **pbm-agent** can exec mongod process)

I’m just curious about one thing.

mongod is the processes that keeps container alive, but container needs to stop it in order to take a backup. Additionally after stopping the mongod, PBM Agent container is going to be shut down within 5 minutes. I’ve large database about 150GB so restore is going to take a while.

Could you please advise what’s the best approach to keep these 2 containers alive, while restore is in progress?

Thanks once more Dmytro

---

_[View the full topic](https://forums.percona.com/t/cannot-restore-from-incremental-backup-pbm-and-psmdb-in-the-same-pod/28041)._
