Create backup of Mongo Db database

Posted on 08-02-2017 by Nadir Latif


Source: https://docs.mongodb.com/manual/reference/program/mongodump/#bin.mongodump

To backup a Mongo Db database, we can use the command: mongodump --archive=test.gz --gzip --db test. It will create a gzip backup of the test database