swisscom/backman

[Feature Request] Option to save collections on MongoDB

Opened this issue · 4 comments

Hello @JamesClonk

Thanks a lot for the cool backup script of DB's running on CF.
Is it possible to add a feature to save only certain collections in a MongoDB?

Regards,
Flavio

Hi @meyerf99,

Hmm, while technically it might be possible to add it for MongoDB, the effort to customize/specialize the backup integration there would probably be a bit much to cover such an edge case.
There's always the possibility to just restore specific collections when doing a manual mongorestore.

Regards
Fabio

Hi @JamesClonk

Thank you very much for your explanation.
Of course it's only a suggestion/idea from me that this feature would be cool, but I understand that it currently exceeds the scope of the backman Docker app.

Regards,
Flavio

@JamesClonk since our update to latest backman version the problem is solved!

Hello all,
since we have a shared mongodb database with certain collections which are huge.
We would also need a way to only backup certain collections and not all.

We can also offer to provide the code if you like :)