backman icon indicating copy to clipboard operation
backman copied to clipboard

[Feature Request] Option to save collections on MongoDB

Open flaviomeyer opened this issue 6 years ago • 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

flaviomeyer avatar Oct 23 '19 06:10 flaviomeyer

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

JamesClonk avatar Nov 04 '19 08:11 JamesClonk

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

flaviomeyer avatar Nov 20 '19 15:11 flaviomeyer

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

toxisch avatar May 15 '20 11:05 toxisch

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 :)

headfox23 avatar Feb 10 '21 14:02 headfox23