Backup and restore are important routine jobs. If you are working with MongoDB then you must know how to take backups as well as how to restore them. MongoDB comes with wonderful command line tools for backup and restore, i.e. mongodump and mongorestore.
I will not be explaining all the backup/restore method here; you can refer MongoDB documentation for backup and restore strategies for more insight. But what I am going to show you are, the most common and simple ways to backup and restore MongoDB.
Copying data Files/Folder
The simplest way to backup or restore MongoDB would be to simply copy the database folder/files. That means if you are taking backup then copy the database folder/files to your backup location. And if you are restoring then copy the content of your backup folder to the database folder. Continue reading MongoDB backup and restore
I am a Mongodb DBA, Linux lover, Open Source Software supporter and a technology enthusiast at core.
Since Feb 2011, I have been into Mongodb and Linux servers from head to toe. I have designed and implemented large MongoDB clusters. Taken care of security, performance and extreme troubleshooting.
Nowadays, taking care of large sharded Mongodb cluster, which runs of linux servers on AWS infrastructure, is my sole responsibility.