Qdrant backup and restore: backing up a collection

A Qdrant backup restore relies on snapshots: an archive of a collection that you can download, store elsewhere, and load back into an instance. The procedure below follows the official snapshot documentation (accessed 30/10/2026) with one simple rule: always back up what you already have before restoring, restore into a test collection first, then compare points and payloads before you touch production. QuelLLM has not run this restore end to end: the commands come from the documentation and must be validated on your version.
#Why use snapshots rather than copying the folder
In a local RAG setup, the Qdrant collection often represents hours of indexing: chunking documents, computing embeddings, enriching payloads. Losing it means recomputing everything, sometimes with an embedding model that is no longer exactly the same, which changes the vectors. Regular backups prevent this situation.
Hot-copying the storage directory (/qdrant/storage in the Docker image) is tempting, but there is no guarantee that a copy made during writes is consistent. Snapshots are the mechanism Qdrant provides: the server itself produces a .snapshot archive of the collection, exposed through its REST API, which you can then download or restore from a URL, a local file, or a direct upload.
- Collection snapshot
- Archive of a single collection: data, indexes, and configuration. This is what this guide covers.
- Full snapshot (full storage)
- Archive of all collections on the instance, created with POST /snapshots. The documentation restricts it to single-node deployments.
- Shard snapshot
- Finer granularity, mainly useful in a cluster. Outside the scope of this guide.
#What a collection snapshot contains, and what it doesn't
Benefit from our experience and a guided path to build your local assistant and use your AI every day.
- Lifetime online access
- PDF + files
- Refunded within 30 days
A collection snapshot includes the points (IDs, vectors, payloads), the indexes, and the collection configuration (vector size and distance, quantization, payload indexes). When restored, it recreates a collection that should behave like the original did at capture time. Anything written after the snapshot was created is missing: a snapshot is a point-in-time picture, not continuous replication.
Practical consequence: a snapshot isn't a universal archive. If you upgrade to a new minor version, keep the old Docker image available as long as you depend on the old snapshots, and take a new backup right after the upgrade. You can get the server version with a simple GET on the API root, which returns a version field.
#Prerequisites
- Reachable Qdrant instance
- REST API on port 6333 by default (http://localhost:6333 locally). If an API key is configured, every request must include the api-key header.
- Tools
- curl et jq sur la machine d'administration. Les mêmes opérations existent dans les clients officiels (Python, TypeScript, Rust, Go…).
- Disk space
- Creating a snapshot writes an archive the size of the collection, on top of the existing data. Check the free space on the volume containing the snapshots directory before starting the operation.
- Snapshots volume
- In Docker, the default directory is /qdrant/snapshots inside the container (storage.snapshots_path setting, or the QDRANT__STORAGE__SNAPSHOTS_PATH variable). Without a mounted volume, the archives disappear along with the container.
- A test collection
- An unused collection name (for example docs_restore_test) to validate the restore without overwriting existing data.
For a manually launched container, mount two separate volumes, one for storage and one for snapshots, so you can copy the archives from the host:
Pin a specific image version rather than latest: that is what will let you restore a snapshot onto an instance with the same minor version, as the documentation requires.
#Step 1: Back up the Qdrant collection (backup)
You create a snapshot with POST /collections/{collection}/snapshots. By default, the call waits for the operation to finish and returns the name, date, and size of the created file; recent versions add a checksum field (SHA-256) that you can use to verify the integrity of the downloaded file.
- 01Record the baseline stateBefore you even create the snapshot, write down the exact point count (see step 3) and the server version. These are your reference values for comparison after the restore.
- 02Get the archive off the machineA snapshot that stays on the same disk as the collection doesn't protect you against losing that disk. Copy the file to another medium or to remote storage; Qdrant's configuration also lets you write snapshots to S3-compatible storage (the snapshots_config section of the documentation).
- 03Name and date itKeep alongside the file: collection name, Qdrant version, date, point count, and the embedding model used. Without that last one, restored vectors can become unusable if the application has switched models in the meantime.
- 04Clean upArchives pile up in the snapshots directory. Once they've been copied elsewhere and verified, delete the old ones with DELETE /collections/{collection}/snapshots/{nom}.
The same operation in Python, with the official qdrant-client:
#Step 2: Restore to a test collection (restore)
The rule of this guide: never restore directly onto the live collection. Restoring into a collection that already exists replaces its contents; if the snapshot is bad (wrong date, wrong collection, truncated file), the mistake can't be undone without another backup. So you start with a new collection, which the restore will create.
Two documented methods. The first, PUT /collections/{collection}/snapshots/recover, takes a location field: an HTTP(S) URL reachable by the Qdrant server, or a file:// path as seen from inside the container. The second, POST /collections/{collection}/snapshots/upload, sends the file from your machine as a multipart upload.
The file:// path above assumes the default directory layout, where each collection has its own subfolder in the snapshots directory; check this in your volume (ls qdrant_snapshots/) before running the command. For method A with a URL, the Qdrant server downloads the file, so the URL must be reachable from the container, not just from your workstation. The request body also accepts a checksum field; if you provide it, the server verifies the archive's hash before restoring.
- priority: snapshot
- Snapshot data takes precedence over existing data. This is the logical choice for an intentional restore.
- priority: replica
- Default value: existing data takes precedence. In a cluster, the collection can be resynchronized from other replicas, which can cancel out the intended effect of the restore.
- priority: no_sync
- Restore without additional synchronization, for controlled shard operations. Avoid it if you don't know why you would need it.
There is also restore at startup, for a single-node instance: the binary accepts --snapshot path:collection_name, and --force-snapshot to overwrite an existing collection. It requires changing the container's launch command; the API calls above are easier to control.
#Step 3: check the restored points and payloads
A status: ok response means the operation finished, not that the restored collection matches what you expect. Three simple checks let you confirm it, by comparing the test collection with the baseline you recorded in step 1 (or with the original collection if it still exists).
- 01Compare the configurationSame vector dimensions and distance (Cosine, Dot, Euclid…), same named vectors if applicable, same indexes in payload_schema. A missing payload index doesn't break anything right away, but it slows down or prevents some filters.
- 02Compare the point countThe exact count of the test collection must equal the one recorded at snapshot time. If production has received writes since then, the difference must match those writes, not an unexplained gap.
- 03Check a few known pointsPick two or three IDs whose content you know (one recent document, one older one) and retrieve them from both collections with POST /collections/{collection}/points and the ids field. The payloads (source, page, chunk text, dates) must be identical.
- 04Run a real searchRun the same vector query, with the same embedding model, on both collections. The top results should match. This is the test that catches an embedding model that changed between backup and restore.
For the ID check, the request looks like this (replace the ids with your own, integers or UUIDs depending on your collection):
#Step 4: put the restored collection back into service
Once the test collection is validated, you have two options. The safest, if your application uses an alias, is to point the alias at the restored collection: the original collection stays intact, and rolling back is just a matter of switching the alias back. Alias operations are sent in a single call, which the Qdrant documentation describes as an atomic change.
If the application queries the collection name directly, you need to restore under that name: rerun the step 2 command with $COLL as the target collection and priority snapshot, after confirming that a recent snapshot of the current state actually exists off the server. Plan for a window with no writes: anything inserted between the backup and the restore would be lost. Then rerun the step 3 checks on the production collection, and recreate any aliases that pointed to it if they've disappeared.
Delete the test collection only once production has been verified and you no longer need it: it takes up the same disk space and memory as the original.
#Qdrant in a cluster: backup and restore limitations
Everything above applies to a single-node instance, the most common setup for self-hosting. In distributed mode, the documentation specifies that a collection snapshot contains only the data present on the node that created it. A collection sharded across multiple nodes therefore requires one snapshot per node, and a node-by-node restore.
- One snapshot per node
- Send the create request to each node, download each archive, and record which node it came from.
- Restore priority
- With the default replica priority, existing data on other replicas may take precedence over the snapshot. Read the relevant section of the documentation before proceeding.
- Full snapshots
- POST /snapshots, which captures all collections and their aliases, is documented for single-node deployments. Don't rely on it in a cluster.
- Topologie
- The number of shards and the replication factor are part of the configuration; restoring to a cluster with a different topology requires specific preparation, which is beyond the scope of this guide.
If you run a cluster, treat this guide as an introduction: Qdrant's Snapshots page and the distributed mode documentation are authoritative, and a full restore drill on an identical test cluster is essential before you rely on it.
#Troubleshooting
- 401 or 403
- Missing api-key header or wrong key. If a read-only key is configured, it can't create or restore a snapshot.
- Restore rejected due to version
- The snapshot comes from a different minor version. Temporarily launch an instance of the original version, restore the snapshot there, then migrate the data following Qdrant's release notes.
- File not found via file://
- The path is resolved inside the container, not on the host. Check the volume mounted at /qdrant/snapshots and the collection's subfolder.
- Recover by URL fails
- The Qdrant server can't reach the URL (Docker network, firewall, authentication). Use an upload from your machine instead.
- Disk space error
- Creating and restoring both write temporary files as large as the collection. Free up space or move the snapshots directory to another volume.
- Degraded search after restore
- Identical points and payloads but different results: check that the application uses the same embedding model and the same dimension as during the original indexing.
- Application can no longer find the collection
- Alias not recreated. Compare the output of GET /aliases before and after the restore.
#Go further
Primary source: the Snapshots page of the Qdrant documentation (https://qdrant.tech/documentation/snapshots/), accessed 30/10/2026. Parameter names, the version compatibility rule, and cluster behavior may change from one version to the next, so reread it for the version you run before any real restore. No search volume could be measured for the query “qdrant backup restore” (DataForSEO data unavailable on 30/10/2026).
- Qdrant: the vector database for local RAG
- The companion guide for installing Qdrant, creating a collection, and filtering by metadata: /guide/qdrant-base-vectorielle-guide
- Restore Open WebUI and Ollama after a failure
- The same backup and restore approach applied to the interface and the models: /guide/restaurer-open-webui-ollama-sauvegarde
- Deploy an LLM in production with Docker Compose
- A Ollama + Open WebUI + Qdrant stack with persistent volumes, to be complemented by the snapshots described here: /guide/deployer-llm-docker-compose-production
Feedback, an error, or a clarification? Let us know—it improves the guide for everyone.