π₯Import Wizard
Simplify MongoDB data imports from JSON or CSV files.
Import with mongorestore
mongorestore
is a command-line tool used to restore data previously backed up using mongodump
or another compatible tool. It is used to import BSON or JSON data into a MongoDB database. mongorestore
can restore entire databases or collections, or specific sets of data, and can also handle different compression formats. It can be used to restore data to a new or existing database, with options to overwrite or merge data as needed.

Import with mongoimport
mongoimport
is a command-line tool used to import data from various formats, including JSON, CSV, and TSV, into a MongoDB database. Users can specify the format of the input data, as well as the database and collection to which the data will be imported. mongoimport
is useful for migrating data from other systems or integrating data from different sources into a MongoDB database. It supports various options for handling input data, including setting data types, upserting data, and skipping or aborting on errors.

Last updated
Was this helpful?