Skip to main content
Meilisearch offers two backup methods: snapshots and dumps. They serve different purposes and have different trade-offs.

Snapshots vs dumps

SnapshotsDumps
What it isExact copy of the database (data.ms)Portable blueprint of all instance data
Import speedFast (data is already indexed)Slow (requires full re-indexing)
Version compatibilitySame Meilisearch version onlyCompatible across versions
File sizeLargerSmaller
Best forPeriodic backups, disaster recoveryMigrating to a new Meilisearch version
SchedulingCan be scheduled at launchCreated on demand via API
Cloud supportSelf-hosted onlyCloud (via UI) and self-hosted (via API)

When to use snapshots

Use snapshots as a safeguard. If something goes wrong, you can recover and relaunch your database quickly. You can schedule periodic snapshot creation at launch. Learn how to create and import snapshots.

When to use dumps

Use dumps when migrating data between Meilisearch versions. Dumps are not bound to a specific version, so they are ideal for upgrades.
You can import dumps from older Meilisearch versions into newer ones. Importing a dump from a newer version into an older one can lead to unexpected behavior.
Learn how to create and import dumps.

Backup recommendations

  • Schedule snapshots for regular backups. A daily snapshot (--schedule-snapshot=86400) is a good starting point.
  • Create a dump before upgrading Meilisearch to a new version.
  • Test your restore process periodically to make sure backups work.
  • Store backups off-server using S3 snapshot storage or by copying dump files to external storage.