Requirements
- A running Meilisearch instance
- A command-line terminal
- A Meilisearch Cloud account and project
Export API
The export API pushes your data directly from your self-hosted instance to a remote Meilisearch instance without creating any intermediate files.1. Create a Meilisearch Cloud project
Navigate to Meilisearch Cloud and create a new project. Once it is ready, note down your project URL and API key from the project overview.2. Run the export
On your self-hosted instance, send aPOST /export request pointing to your Cloud project:
TARGET_INSTANCE_URL with your Cloud project URL and add your Cloud API key via the apiKey field or an Authorization header.
Meilisearch returns a task object. Use the taskUid to monitor its progress.
3. Verify the migration
Once the task status issucceeded, open your Cloud project and run a few searches to confirm all data transferred correctly.
Congratulations, you have migrated to Meilisearch Cloud. If you encounter any problems, reach out to our support team on Discord.