VectorOpsReport
Diagram showing a Qdrant collection copied to a snapshot file and restored into a separate test instance.
Guides

Qdrant Snapshot Backup and Restore: Test One Collection

Create and download a Qdrant collection snapshot, restore it into an isolated test instance, and verify points and application behavior.

By VectorOpsReport Editorial · · 4 min read

A Qdrant snapshot backup is useful only if you can download it, restore it and verify the result. For a small self-hosted deployment, start with one collection and a separate test instance before automating the process.

This walkthrough describes a single-node server deployment. The request shapes were checked against the Qdrant v1.20.x API reference; use documentation matching your installed version. It is not a distributed-cluster recovery procedure or a hardware performance test.

Know what the snapshot contains

Qdrant’s snapshot documentation describes a collection snapshot as the collection data and configuration on a particular node. It includes points and payloads; collection aliases are separate.

In a distributed deployment, one node’s collection snapshot is not a backup of every node’s data. Qdrant’s snapshot tutorial takes snapshots from the relevant nodes separately. Do not apply the single-node sequence below to a multi-node cluster without that additional recovery planning.

Also inventory what sits outside the collection: your application configuration, embedding model and version, credentials, aliases and original documents if the application still needs them. Restoring vectors alone does not recreate an entire retrieval service.

Prepare an isolated destination

Have an existing source collection, a protected place to save its snapshot, and a separate Qdrant test instance. For the first drill, use the same Qdrant server version as the source to avoid mixing a recovery test with an upgrade.

Use a new collection name on the test instance, such as restore-check. Confirm that the target collection name does not already exist. The upload recovery endpoint can overwrite collection data on its target node; it is not a harmless read.

Keep both endpoints private, use your deployment’s authentication, and use HTTPS for remote connections in line with Qdrant’s security guidance. Snapshot payloads may contain the same sensitive data as the source collection. Protect downloaded files accordingly.

1. Create the collection snapshot

Before the drill, record an exact count and representative point IDs and payloads from a stable test collection or a quiet interval without application writes. This makes comparison with the backed-up state reliable; it is not a claim that snapshots generally require stopping writes.

For a source collection named notes, the documented creation request is:

POST /collections/notes/snapshots?wait=true

The blocks here show HTTP methods and paths, not complete shell commands. Send them to the appropriate source or test server using your authenticated client.

Save the returned result.name, creation time and size. With wait=true, the request waits for completion. If you choose background creation instead, list the snapshots and identify the completed result before trying to download it.

2. Download the actual snapshot file

Use the exact returned name with the download endpoint:

GET /collections/notes/snapshots/<returned-snapshot-name>

Save the response as a binary file, not a JSON response or a URL bookmark. Record its filename, byte count and a local SHA-256 checksum. After copying it to your backup destination, read it back and compare the checksum.

Keep the source server version and collection name alongside the file. A name alone does not explain how an unfamiliar snapshot should be recovered months later.

3. Upload to the test instance

Send a multipart upload to the test server, using the downloaded file in the field named snapshot:

POST /collections/restore-check/snapshots/upload?wait=true&priority=snapshot
Content-Type: multipart/form-data; boundary=<client-generated-boundary>

Let your HTTP client generate the multipart boundary. The API reference documents priority as the source-of-truth choice and supports an optional SHA-256 checksum for integrity checking. Here priority=snapshot is appropriate to the deliberate restore into the isolated destination; it is not permission to overwrite a live collection.

Check the response and the test collection before continuing. An HTTP error or timeout is an uncertain restore outcome, not evidence that it is safe to submit repeated uploads blindly.

4. Verify data and useful behavior

The documented exact count request is:

POST /collections/restore-check/points/count
Content-Type: application/json

{"exact": true}

Compare with an expected count captured for the backed-up state. If the source keeps changing after the snapshot, its current count may legitimately differ from that earlier state.

Then go beyond the count:

  • Retrieve representative known point IDs and inspect their payloads.
  • Confirm the expected vector configuration and payload indexes.
  • Run an application query with the same embedding model and filters.
  • Check that a known expected result is usable by the application.

Equal counts do not prove equal content. For approximate search, identical ranking order should not be your only acceptance criterion; use known records and a representative retrieval task. Our recall benchmarking guide explains why retrieval quality needs its own check.

5. Record the drill before scheduling it

Keep a compact record: source version, collection, snapshot identity, checksum, destination, restore time, checks performed and result. Distinguish snapshot created, copy verified, restore completed and application checked.

Retain a known-good copy while investigating a failed newer one. When automation is added, alert on a missing successful outcome as well as an explicit error.

If you are still choosing an engine, the Qdrant, Weaviate and Milvus comparison covers broader design tradeoffs. A snapshot restore drill answers the narrower operational question: can this deployment recover the collection you actually rely on?

Sources

  1. Snapshots | Qdrant documentation
  2. Backup and Restore Qdrant with Snapshots | Qdrant tutorial
  3. Create a snapshot (collection) | Qdrant API v1.20.x
  4. Download a snapshot (collection) | Qdrant API v1.20.x
  5. Recover from an uploaded snapshot (collection) | Qdrant API v1.20.x
  6. Count points | Qdrant API v1.20.x
  7. Security | Qdrant documentation

Related