Migration Guide
Upgrades
Weaviate is under active development, with new features and improvements being added regularly, including bugfixes. To take advantage of these updates, we recommend upgrading your Weaviate instance regularly.
General upgrade instructions
When upgrading Weaviate, we recommend that you:
- Create a complete backup of your current Weaviate instance before beginning any upgrade process.
- Plan to upgrade one minor version at a time, always using the latest patch version of each minor release.
This approach of upgrading one minor version at a time helps to minimize the risk of issues during the upgrade process, by mirroring our testing and release process. Upgrading to the latest patch version of each minor release ensures that you have the latest bugfixes and improvements.
v1.25.10
to v1.27
Between v1.25
and v1.27
, there are two minor versions, v1.26
and v1.27
. So:
- Create a backup of your current Weaviate instance.
- Go to the Weaviate releases page:
- Find the latest
v1.26
patch version (e.g.:1.26.11
). - Find the latest
v1.27
patch version (e.g.:1.27.5
).
- Find the latest
- Upgrade to the latest patch version of
v1.26
. - Upgrade to the latest patch version of
v1.27
.
Version-specific migration guides
Raft Migration (v1.25.0+)
Weaviate v1.25.0
introduced Raft as the consensus algorithm for cluster metadata. This requires a one-time migration of the cluster metadata.
In Docker-based self-hosted instances, the migration is automatic.
In Kubernetes-based self-hosted instances, you must perform a manual migration step. For more information, see the Weaviate v1.25.0
migration guide.
This was a significant change to the Weaviate architecture. Accordingly, we suggest performing another backup after upgrading to v1.25.latest
, before proceeding with further upgrades to ensure that you have a recent backup.
Backup Restoration Fix (v1.23.13+)
Before v1.23.13
, there was a bug with the backup restoration process, which could lead to data not being stored correctly.
If you are upgrading from a version before v1.23.13
, we recommend that you:
- Create a backup of your current Weaviate instance.
- Upgrade to at least
v1.23.13
(preferably tov1.23.16
) or higher, using the general upgrade instructions above. - Restore your backup to the upgraded instance.
Questions and feedback
If you have any questions or feedback, let us know in the user forum.