Difference between revisions of "Mongodump"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 5: | Line 5: | ||
Database backup: | Database backup: | ||
− | * <code>[[mongodump]] --archive=test.20150715.archive --db your_db_name</code> | + | * <code>[[mongodump]] --archive=test.20150715.archive --db your_db_name</code> (Use: <code>show dbs</code> to view available DBs) |
Revision as of 11:04, 13 April 2020
This article is a Draft. Help us to complete it. https://docs.mongodb.com/database-tools/mongodump/
Database backup:
mongodump --archive=test.20150715.archive --db your_db_name
(Use:show dbs
to view available DBs)
Sharded Clusters
Backups created with mongodump
do not maintain the atomicity guarantees of transactions across shards
Related commands
See also
- MongoDB: MongoDB Compass,
mongo
,mongodump, mongorestore
,mongoexport
, MongoDB changelog, MongoDB Enterprise Kubernetes Operator, GridFS, MongoDB Atlas, MongoDB replication, Ops Manager, docker logs mongodb, show collections, show dbs,mongo --help
- MongoDB:
mongodump
, PostgreSQL:pg_dump
, MariaDB: mysqldump
Advertising: