Point in time recovery based on incremental backup

Hi,

As I’m reading the docs, I see it’s described how to setup Point in TIme Recovery based on physical and logical backups only. Is it possible to setup PITR to be working with incremental backups?

Doc that I mentioned before: Point-in-time recovery - Percona Backup for MongoDB

@Iliterallyneedhelp

Is it possible to setup PITR to be working with incremental backups?

Incremental backups also comprises of physical backup. An incremental base backup would be required in order to start the incremental backup chain as like full backup.

https://docs.percona.com/percona-backup-mongodb/features/incremental-backup.html#incremental-physical-backups

Yes, you can enable the PITR in the Physical Incremental process as well.

E.g,

Enabing PITR:

pbm config --set pitr.enabled=true

Taking Incremental backups:

pbm backup --type incremental --base

pbm backup --type incremental

pbm list

Backup snapshots:
2024-01-05T10:19:39Z <incremental, base> [restore_to_time: 2024-01-05T10:19:42Z]
2024-01-05T10:20:51Z [restore_to_time: 2024-01-05T10:20:54Z]
2024-01-05T10:21:53Z [restore_to_time: 2024-01-05T10:21:59Z]

PITR :
2024-01-05T10:19:43Z - 2024-01-05T10:25:12Z

Awesome, it’s all I needed to know. Thanks buddy