Import
Import data into a MongoDB database using a mongodump archive file (.archive or .archive.gz). This feature is useful for restoring backups, migrating data, or setting up initial database structures.
To import data into a database, navigate to MongoDB > Import:
-
Select a Database Choose the target database into which you want to import the data.
-
Select a File Click the Select button to choose a
.archiveor.archive.gzfile from your device. -
Upload Click the Upload & Import button and wait for the import process to complete.
Importing replaces any existing collections in the target database that are present in the archive (mongorestore --drop).
If your archive file is very large, we recommend using the Containers > Terminal interface instead for more reliable import handling.