Docs Menu
Migrate from Milvus to Zilliz Cloud
Zilliz Cloud provides a state-of-the-art data infrastructure for optimized search across vector embeddings, making it easy to bring your AI applications to life. As a Milvus user who wants to make the most of this data infrastructure, you are advised to migrate your data to Zilliz Cloud.
This guide walks you through preparing the migration data, performing the migration, and verifying the results.
Prepare migration data
Zilliz Cloud allows data migration from Milvus 0.9.x and later versions. As a promising vector database, there are usually drastic changes between its releases.
In this section, you will learn how to prepare data for migration.
To prepare migration data for Milvus 0.9.x through 1.x, you need to
Download milvus-migration. Always use the latest release.
Stop the Milvus installation or at least stop performing any DML operations in it.
Export the metadata of the installation to
meta.json
.For those installations using MySQL as the backend, run
./milvus-migration export -m "user:password@tcp(adderss)/milvus?charset=utf8mb4&parseTime=True&loc=Local" -o outputDir
For those installations using SQLite as the backend, run
./milvus-migration export -s /milvus/db/meta.sqlite -o outputDir
Copy the
tables
folder of your Milvus installation, then move bothmeta.json
and thetables
folder to an empty folder.Once this step is done, the structure of the empty folder should look like this:
migration_data ├── meta.json └── tables
Upload the folder prepared in the preceding step to an S3 block storage bucket or directly use this local folder in the next section.
Migrate data to Zilliz Cloud
Once the migration data is ready, upload it to Zilliz Cloud.
If you have uploaded the prepared migration data to a personal S3 block storage bucket, select Import a folder from S3 and fill in the folder path and authentication credentials.
To upload a local folder to Zilliz Cloud, select Import a local folder and drag the folder to the drop zone. Note that you can upload a local folder of no more than 1 GB to Zilliz Cloud.
Verify the migration results
After the status of the migration job changes from MIGRATING to SUCCESSFUL, the migration process ends.
Zilliz Cloud only supports AUTO_INDEX, an optimized indexing algorithm, and will automatically index your migrated collection using this algorithm.
After loading the collections, you can use the way of your choice to communicate with them.