All Products
Search
Document Center

Vector Retrieval Service for Milvus:Backup and recovery

Last Updated:Jun 02, 2026

Alibaba Cloud AI Search for Milvus (Milvus) supports backing up data as snapshots and restoring backups to the current instance, which helps prevent data loss and reduce downtime.

Limits

  • New instances: The backup and recovery feature is available by default.

  • Existing instances: Upgrade to one of the following minor engine versions or later:

    • 2.4.22-0.1.0_3.2 and later.

    • 2.5.4-0.1.1_3.2 and later.

To upgrade, follow the steps in Upgrade versions.

Notes

  • Automatic backups retain snapshot data for only the last 3 days.

  • Automatic backups run daily at 03:00:00 by default.

Billing

The backup feature incurs additional fees and uses pay-as-you-go billing. The billing standards are the same as those for storage. Snapshot storage fees are charged based on snapshot size and duration in each region, billed separately per region. Snapshot billing.

Manually back up data

  1. Navigate to the backup snapshot page.

    1. Log on to the Alibaba Cloud Milvus console.

    2. In the navigation pane on the left, click Milvus Instances.

    3. On the Instances page, find the target instance and click Backup in the Actions column.

  2. On the Backup Snapshot tab, click Backup.

  3. In the Enable Backup dialog box, enter a name for the backup file in the New Backup File Name field and click OK.

    After the backup completes, you can use the backup file to restore data to the instance.

Enable automatic backup

Important
  • Automatic backup incurs additional fees based on backup storage usage. Billable items.

  • Automatic backups run daily at 03:00:00 by default. You can customize the schedule.

  • Automatic backups are retained for 3 days. Restore data promptly to prevent loss.

  1. On the Instances page, find the target instance and click Backup in the Actions column.

  2. On the Backup Snapshot page, turn on the Automatic Backup switch, set the Execution Time, and click OK.

Disable automatic backup

Important

Disabling automatic backup voids the Service-Level Agreement (SLA). Data lost after this point cannot be restored from a backup.

  1. Navigate to the backup snapshot page.

    1. Log on to the Alibaba Cloud Milvus console.

    2. In the navigation pane on the left, click Milvus Instances.

    3. On the Instances page, find the target instance and click Backup in the Actions column.

  2. On the Backup Snapshot tab, turn off the Automatic Backup switch.

  3. In the dialog box that appears, click OK.

Restore data

Restore data from a backup after accidental deletion or instance failure.

Important

Restoring data causes temporary instance downtime during which all queries fail. After the restore completes, you must manually reload the Collection to ensure all data and configurations are fully restored. Perform this operation during off-peak hours after assessing the associated risks.

  1. On the Backup Snapshot tab, find the target backup file and click Restore in the Actions column.

    Alternatively, click Restore at the top of the page and select a backup file from the Select Backup File drop-down list.

  2. Click OK.

View backup details

The Backup Snapshot tab lists all backup files with their status, size, type, backup time, and expiration time.

On the Backup Snapshot tab, click a backup file name to open the Backup Details panel, which shows the database, Collection name, and entity count.

Delete a backup

Note

Deleted snapshots cannot be restored.

  1. On the Backup Snapshot tab, click Delete in the Actions column.

  2. In the Delete Backup dialog box, click OK.