# Pbm status shows an error message even though the latest backup succeeded

**URL:** <https://forums.percona.com/t/pbm-status-shows-an-error-message-even-though-the-latest-backup-succeeded/35046>\
**Category:** Percona Backup for MongoDB\
**Created:** [November 14, 2024, 9:45pm UTC](https://forums.percona.com/t/pbm-status-shows-an-error-message-even-though-the-latest-backup-succeeded/35046 "2024-11-14T21:45:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andriy\_Bartash](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/andriy_bartash/32/18680_2.png) [@Andriy\_Bartash](https://forums.percona.com/u/Andriy_Bartash)\
**Post date:** [November 14, 2024, 9:45pm UTC](https://forums.percona.com/t/pbm-status-shows-an-error-message-even-though-the-latest-backup-succeeded/35046/1 "2024-11-14T21:45:11Z")

</div>

## Wondering if it is a bug or expected behaviour. pbm status

Status [OFF]  
! ERROR while running PITR backup: …

Version: 2.7.0

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![Vinodh\_Krishnaswamy](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vinodh_krishnaswamy/32/46_2.png) [@Vinodh\_Krishnaswamy](https://forums.percona.com/u/Vinodh_Krishnaswamy)\
**Post date:** [November 15, 2024, 9:49am UTC](https://forums.percona.com/t/pbm-status-shows-an-error-message-even-though-the-latest-backup-succeeded/35046/2 "2024-11-15T09:49:38Z")

</div>

Hi Andriy,  
The below error shows the PITR error. You can provide us with more logs to check this.

` ! ERROR while running PITR backup: …`

Is PITR backup enabled? Is it a recent one? Do you see any error like " `oplog has insufficient range`" in the pbm logs? If so, you can check whether you have enough oplog window/size or take another base backup to resume PITR backup.

You can provide us with the below output:

```auto
pbm status
pbm logs -sD -t10000 > pbm.log

```

Regards,  
Vinodh Guruji

---

<div class="post-metadata">

**Author:** ![Andriy\_Bartash](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/andriy_bartash/32/18680_2.png) [@Andriy\_Bartash](https://forums.percona.com/u/Andriy_Bartash)\
**Post date:** [November 15, 2024, 3:57pm UTC](https://forums.percona.com/t/pbm-status-shows-an-error-message-even-though-the-latest-backup-succeeded/35046/3 "2024-11-15T15:57:11Z")

</div>

Thank you for helping with this issue.  
Now, Answering your questions:

1. Is PITR backup enabled?  
NO  
pitr:  
enabled: false
2. No errors like you mentioned `oplog has insufficient range`

I have managed to get rid of that message by running  
pbm config --force-resync
