Mongodb

Italian free course on Udemy https://www.udemy.com/corso-mongodb-basi-del-database-no-sql-piu-usato-al-mondo/

Backup

This db has some issue of consinstency

There are 3 backup strategies well described here http://blog.mms.mongodb.com/post/86915115595/mongodb-backup-strategies-compared

  1. mongodump is the heavy solution
  2. disk level , you need a journal file system enable and a system to backup disk for example EC2 with AWS (http://docs.mongodb.org/ecosystem/tutorial/backup-and-restore-mongodb-on-amazon-ec2/) or LVM
  3. install an agent for a backup in the cloud

The official backup page is this but it is a bit generic http://docs.mongodb.org/manual/core/backups/#backup-with-mongodump

Instead in this page http://www.thegeekstuff.com/2013/09/mongodump-mongorestore/ http://linuxadminzone.com/simple-and-efficient-mongodb-backup-using-script/ there are good examples of mongo backups

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License