mongodump
Verified for current stable LTS
Mongodump Command: Specify Output Location For Dump
Use for specify output location for dump with Mongodump. Exact CLI syntax to specify output location for dump using Mongodump.
When to use this: Use for specify output location for dump with Mongodump.
Command Syntax
mongodump -o <path/to/directory> mongodump -o <path/to/directory> Command Breakdown
-o- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to specify output location for dump using Mongodump.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Mongodump Command: Create Dump All Databases
mongodump Mongodump Command: Create Dump Of Specific Collection In Database mongodump -c <collection_name> -d <database_name> Mongodump Command: Create Dump Of Specific Database mongodump -d <database_name> Mongodump Command: Create Dump With Connection String mongodump --uri <connection_string> Mongodump Command: Create Dump With Specific Host And Port mongodump -h <host> --port <port>