Migrate between instances with the /export
route
/export
route to transfer data from your origin instance to a remote target instance. This is particularly useful when migrating from your local development environment to a Meilisearch Cloud instance.
Name | Type | Default value | Description |
---|---|---|---|
url * | String | null | The target instance’s URL address. Required |
apiKey * | String | null | An API key with full admin access to the target instance |
payloadSize * | String | ”50 MiB” | A string specifying the payload size in a human-readable format |
indexes * | Object | null | A set of patterns matching the indexes you want to export. Defaults to all indexes in the origin instance |
url
apiKey
index.create
, settings.update
, and documents.add
permissions to a secured Meilisearch instance.
payloadSize
"100MiB"
. Larger payloads are generally more efficient, but require significantly more powerful machines.
indexes
filter
: a filter expression defining the subset of documents to export. Optional, defaults to null
overrideSettings
: if true
, configures indexes in the target instance with the origin instance settings. Optional, defaults to false