A dump in Meilisearch is a compressed file that includes all your indexes, documents, and settings in an unprocessed, raw format. It's not a direct replica of your database but rather serves as a blueprint for recreating an identical dataset.
Dumps are useful for two main purposes: they allow you to recover your database after updating Meilisearch, and they enable you to duplicate your database across different Meilisearch instances, regardless of version differences. Read more in the documentation.
Currently, dumps can be created only with the open-source version of Meilisearch, as the cloud version automatically manages zero-downtime updates.
Use the /dumps route to initiate the creation of database dumps. These dumps are saved as .dump files, suitable for restoring Meilisearch data or migrating between versions. Upon triggering, the system prioritizes dump creation tasks. Once completed, the dump is saved in the dump directory (defaults to dumps/), which will be created if it doesn’t already exist.
To import dumps programmatically using the API or one of our SDKs, read the dedicated documentation.
Before importing a dump, you must first create a new project. Please note that it's not possible to import a dump into an existing project.
👉 If you're unfamiliar with creating a dump, you can learn how in the documentation's dedicated section.
Once you click the button to create a new project, you will be asked to provide the project information.
Enter the required details for your project, including the project name and the region where it will be hosted.
Click the Upload dump button and select the desired dump file.
👉 The default dumps folder is named dumps, located in the same directory as your Meilisearch binary, unless you specified a different directory when launching your Meilisearch instance.
Click the Create project button to proceed.
After a few seconds, you'll see a message notifying you that your project is being created. Click the Go to the index list button to view and manage your indexes.
You can now manage your project and start searching.
And that's it! You've successfully imported a dump into your new Meilisearch Cloud project 🎉