HiveBrain v1.2.0
Get Started
← Back to all entries
gotchaMajor

What is difference between mongodump and mongoexport?

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
whatmongodumpdifferencebetweenmongoexportand

Problem

I know that when we have to take full backup at database & collection level we use mongodump but with mongodump we can take backup of a particular record also so what is difference between mongodump and mongoexport?

Solution

mongodump generates binary copies of data; it creates better, more efficient backups.

mongoexport can create JSON files; these can be used by other programs, and are basically human-readable as is.

Context

StackExchange Database Administrators Q#194370, answer score: 22

Revisions (0)

No revisions yet.