I have a replica set of two MongoDB nodes running (with an arbiter) and I am now wondering about the best backup and recovery solution. I am aware of the official documentation, but it does not provide me enough pro and con's for each solution. In particular, our team wants to decide between either a OpsManager-solution or a mongodump. I am not experienced with either of them, so could you be so kind and please help me out with more arguments and experiences? The following arguments I collected so far, feel free to edit them if they are not correct:
Arguments for mongodump and against OpsManager
- simpler, just a command line for a snapshot and another one for the recovery
- no additional servers and/or licenses required which is the suggested solution for OpsManager
Arguments for OpsManager and against mongodump
- tested solution, provided directly by the team who developed MongoDB
- cleaner and sustainable, since it could be configured via GUI and does not require command line access
- easy logging of each backup run possible, which contrasts to mongodump requiring a custom (power?) shell script wrapped around
Related questions on Stackexchange which did not solve my issue:
- https://stackoverflow.com/questions/22555280/best-way-to-make-hot-backup-mongodbtokumx-database-instance
- https://stackoverflow.com/questions/31502601/how-should-i-backup-mongodb-on-digitalocean
- https://stackoverflow.com/questions/39169209/backup-mongodb-data
- https://stackoverflow.com/questions/17458124/how-to-get-a-consistent-mongodb-backup-for-a-single-node-setup
- Backup with mongoexport or mongodump?