Syntax | Explanation | Example |
---|---|---|
Mongodump--collection--COLLECTION--db DB_NAME | The following command will intend for reinforcement just only the determined set of indicated database. | Mongodump--collection mycol--db test |
Mongodump--host HOST_NAME--port PORT_NUMBER | All the databases will be backedup by using the command of mongodb | Mongodump--host site name--port 27107 |
Mongodump--dbpath DB_PATH--out BACKUP_DIRECTORY | All the databases will be backedup by using the command of mongodb | Mongodump--dbpath/data/db/--out/data/backup |