Hello :),
I would like to know if you are considering implementing an option for pbm restore for restoring collections and/or databases based on their size?
Here is our use case:
- PBM Version: 2.10.0
- MongoDB Version: 6.0
- Debian Version: 12/13
We have huge collections in production that are not critical to the core functioning of our application, and we need to be able to prioritize or sort the restore process based on collection size.
For example, if our production environment crashes or if we need to test a restore on another platform, we would like to bring up a functional MongoDB instance as fast as possible by postponing or skipping the restoration of these massive, non-critical collections.
Currently, we cannot exclude collections from the pbm backup command (I opened a Jira ticket for this 4 years ago: PBM-798 (https://perconadev.atlassian.net/browse/PBM-798)).
Furthermore, we cannot exclude collections during a pbm restore either, nor can we sort the collections being restored. Our only current option is to manually select and restore specific collections/databases one by one.
I believe adding an option to filter or sort restores by collection size would be a highly valuable improvement for many PBM users in the community.
Please let me know if there are any plans for this, or if I might have missed an existing/ongoing ticket regarding this feature!
Best regards,