MongoDB
Backup/Restore Commands
MongoDB provides several tools for backup and data migration. Learn mongodump/restore for backups and mongoexport/import for data exchange.
8 commands
Pro Tips
Use --archive with --gzip for smaller, single-file backups.
Use mongoexport for JSON/CSV interchange with other systems.
Common Mistakes
For replica sets, use --oplog for consistent point-in-time backups.