Today I decided I would write a little blog entry about how to backup mongodb using Linux LVM snapshots. I have seen a lot of questions regarding “what” is the best method to backup mongodb lately on the IRC channel #mongodb.
I’m currently in the process of writing automation to deploy replica sets of mongodb to the cloud with a single command. When attaching my EBS volumes I noticed that I was regularly getting an error that stated: mdadm: cannot open /dev/xvdf: Device or resource busy
First I want to give credit and “props” to to the original author, Jayesh Thakrar, of the Zabbix Mikoomi plugins not just the EC2 plugin but also the mongodb plugin as well. The origional EC2 plugin for Zabbix offers many great features I simply needed to extend it to add support for VPN, VPCs and