mongodump --out /backups/mongo

Category: VPS Management

mongodump --out /backups/mongo

Dump MongoDB data to a directory

Use `mongodump --out /backups/mongo` to dump MongoDB data to a directory. Helpful when you need this quickly on a Linux server.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.