Snapshots vs dumps
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.
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.