Skip to main content

Posts

Showing posts with the label MongoDB Export with $mongoexport

MongoDB Export with $mongoexport

In the MongoDB, $mongoexport is used to take the backups of db tables (collections) in JSON, CSV and TSV format using the command. This command should be executed in the command prompt not in MongoDB clients. MongoDB Export command options:   - h < mongo - host - name >                     --This command is not required!   - u < user - name >                                   --This command is not required!   - p < password >                                    --This command is not required!   - d < db - name >                   ...