Percona Backup for MongoDB is not restoring the incremental/base backup

Hi Team,

I am trying to backup/restore of a selective collection in incremental method.

The logical backup/restore seams to work fine.

when I trying to implement incremental, the backups are happening fine, but restore, it just show

- Restore on replicaset "rs0" in state: ```

trying the below commands for backup and restore
```pbm backup --base --ns="backup_test.full_backup"
pbm backup --type=incremental --base --ns="backup_test.full_backup"

pbm list
Backup snapshots:
  2023-05-18T14:05:17Z <logical, selective> [restore_to_time: 2023-05-18T14:05:26Z]
  2023-05-18T14:30:16Z <incremental, selective, base> [restore_to_time: 2023-05-18T14:30:24Z]
  2023-05-19T13:02:25Z <incremental, selective, base> [restore_to_time: 2023-05-19T13:02:33Z]
  2023-05-19T13:03:39Z <incremental, selective> [restore_to_time: 2023-05-19T13:04:20Z]

PITR <off>:
sh-4.2# pbm restore 2023-05-19T13:02:25Z --ns "backup_test.full_backup" ```

Can you please help me with this.

Hi, do you get no output on the pbm logs either? in that case please open a bug at jira.percona.com with this information

hi @Sai_Teja_Varma ,

PBM does not support selective backup and restore for physical and incremental.
Only logical:

  • selective backup and restore all its db/colls.
  • selective restore from a full backup
  • “sub-selective”: selective restore from selective backup (like, restore db1.collA from db1.* backup)

Sorry for the delayed answer.

Hi @Dmytro_Zghoba

Thank you for the reply. I am trying to backup using local only (backing up in the same instance as well as testing).

I am trying selective backup of Database/collections and restore of the same with incremental and direct are working fine.

Thank you

Hi @Ivan_Groenewold
Thank you for the reply. As Its incremental + selective backup, it is showing just empty reply.

Will raise a bug report as you suggested

Thank you