How to upgrade Qdrant on Docker without losing data
If your Qdrant container needs to move to a newer release, such as the 1.19 line (v1.19.0 on August 5, 2026, then v1.19.2 on October 5, 2026), the safe path is to back up the data, stop the container, replace its image with a newer tag and start it again on the same storage volume. A single node has no rolling option: there is no second replica to take traffic while one container restarts, so the service is unavailable for the length of the swap. The data survives only if the volume survives, so the upgrade must keep the same named volume or bind mount that the /qdrant/storage path points to, and the Compose file must not be recreated with a new, empty volume.
Do not jump straight to the newest release. Move one minor version at a time and use the latest patch of each minor, which is the rule the multi-version upgrade page explains in detail. Before each step, take a collection snapshot or a full copy of the storage directory so that you have a rollback point, and confirm that your snapshots can be restored to the target version under the compatibility rules in the Qdrant snapshots documentation. Pin the image to an explicit tag such as qdrant/qdrant:v1.19.2 in your docker-compose.yml rather than latest, so that a restart never pulls a version nobody tested.
Before you schedule the window, confirm three things with your own environment: how long a full snapshot takes on your collection sizes, whether your storage is local block storage as the Qdrant installation documentation requires, and whether your client applications will keep working during the restart. Plan a short read-only or maintenance period for write-heavy workloads, since writes sent during the stop will fail or need retries in your application. After the container starts, check the collections and point count against the values you recorded before the upgrade, and run a few known queries before you reopen traffic.
Which release changes affect a Docker upgrade
This table lists the release-level changes that matter when you replace the Qdrant image on a single Docker or Compose host, with the impact on that container and the action to take. Read each row against the release notes for your target version before you change the image tag. The main takeaway is that most risk comes from storage placement, unsecured defaults and snapshot compatibility, not from the image swap itself.
| Change | Impact on a single container | Action needed |
|---|---|---|
| Storage must be block-level POSIX file system | Volume on NFS or object storage is unsupported, so a volume moved during the upgrade can corrupt or fail to start | Confirm the host volume path is local block storage (SSD or NVMe recommended) before you pull the new image |
| Self-deployed instances are unsecured by default | Upgraded container listens on all interfaces with no authentication unless keys are already set in your run command or Compose file | Confirm API key settings survive the new container definition and that ports are not published to untrusted networks |
| Admin and read-only API keys | Key configuration is read from your environment or config, so a changed Compose file can drop keys silently | Test the admin key and read-only key against the upgraded container with a simple collection listing |
| JWT-based access control (v1.9.0 and later) | Per-collection read or write permissions apply only if your configuration enables them on the target version | Review access settings in the target release notes and test one read-only and one write client |
| JSON audit logging (v1.17.0 and later) | Upgrading to v1.17.0 or later adds authenticated API operation logs, which grow the container log or log file over time | Confirm where logs are written, set retention, and check that your log collector still reads them |
| Snapshot restore: same or next minor version only | A snapshot taken on the old version restores only to the same or next minor version, which limits rollback by restore | Keep a pre-upgrade snapshot and a volume backup, and note the version each was taken on |
| Collection configs changed in 1.19 | Release notes for 1.19 cover memory tier settings and on_disk replacements that may need review on existing collections | Check collection configs against the 1.19 release notes and confirm each item on the release page before upgrading past 1.18 |
How the image, volume and backup fit during a single-node upgrade
The diagram starts with the running container on the old image tag, whose data lives in a named volume. A snapshot is taken and stored outside the host before the container is stopped. The image tag is changed in the Compose file or run command, and the container starts on the same volume. The decision point is the health check: if the node passes, the upgrade is complete. If it fails, the old tag is restored on the same volume, so the backup is the recovery point and the volume itself is not replaced.
Single-host upgrade flow showing the volume, the backup and the rollback path.
Backups to take before you upgrade Qdrant on Docker
Each card protects a different part of the upgrade: the data, the container definition, the version record, a rehearsal path and the approval to change production. Skipping any one of them makes a failed upgrade harder to reverse, so confirm all six before you pull a new image.
Collection snapshots and a volume copy
Create a snapshot of every collection through the Qdrant API, then copy the storage volume that holds the data directory while the container is stopped. The snapshot gives you a portable restore point, and the volume copy gives you a byte-level rollback if the new container will not start. Confirm that the snapshot files are stored outside the volume you are about to touch, and that you have enough free disk to hold both. Snapshot restore rules depend on version, so record the source version beside each snapshot.
- Latest release
- 1.19.2
Compose file and environment inventory
Save a copy of the compose file, any .env file, and the output of docker inspect for the running container. Record the image tag, port bindings, volume mounts, QDRANT__SERVICE__API_KEY and any TLS settings. A new image tag can silently drop a setting you rely on, and the inventory is how you spot the difference afterward. Confirm where the API key is stored and who can read that file.
Current collection configs and versions
Export each collection's configuration and record the running server version from the health endpoint. Note vector sizes, distance metrics, payload indexes and any quantization or on-disk settings. This record lets you confirm after the upgrade that nothing was changed or reset, and it tells you which client SDK versions were talking to the server. Confirm that someone outside the upgrade team can read this record during an incident.
Rehearsal host or copy of the volume
Restore the snapshot or the volume copy onto a separate Docker host or a scratch directory, and start the target image there. This shows whether the new version loads your collections, payload indexes and configuration before production is touched. Confirm that the rehearsal host has the same CPU architecture, storage type and memory limits as production, because a test on different hardware proves less than it appears to.
Client applications and dependencies
List every application, pipeline and notebook that connects to this Qdrant instance, along with the SDK and version each uses. Some of these clients may call query features that only exist in newer servers, and others may pin an older SDK. Confirm the owner of each client and whether they can pause writes during the window. Ingestion jobs that run on a schedule are the most common surprise.
Change window and owner sign-off
Agree the maintenance window, the rollback trigger and the person who makes the call to roll back, with the owners of the data and the applications that depend on it. A single node has no replica to serve reads while the container restarts, so the window is a planned outage. Confirm in writing who approves the change, who is notified before the stop, and who verifies the results once the new container is healthy.
How to upgrade Qdrant on Docker one step at a time
This sequence replaces the Qdrant container image on the same data volume, with a verified backup and a rollback point at each stage, so you end with a confirmed version and a documented configuration state.
Confirm current version and target tag
Record the running Qdrant version from the root endpoint and the image tag in your Compose file or run command, then pick the exact target tag from the Qdrant GitHub releases page. Check the release notes for breaking changes and confirm that your client SDKs support the target version. Rollback point: nothing has changed yet, so stopping here leaves the system as it was. Done when the current version, target tag and SDK versions are written in your change record.
Stop writes from client applications
Pause ingestion jobs, re-embedding pipelines and any service that writes points or payloads, and confirm that no upload or update requests are still arriving. Qdrant has no maintenance mode of its own, so the application side must hold writes. Check that write traffic has stopped in your application logs or gateway metrics. Rollback point: resume writers if the upgrade is cancelled before the backup begins.
Take and verify the backup
Create collection snapshots for every collection, or a full-storage snapshot on this single-node deployment, and copy the archives off the host. Also archive the storage volume or confirm your volume backup is current. Verify the backup by listing the snapshot files, checking their sizes against the collection data, and restoring one collection to a scratch container if time allows. Rollback point: the verified snapshots and volume copy are your restore path if the new image fails.
Pin the exact target image tag
Edit the Compose file or run command to reference the exact target version tag, such as the full version number from the release list, instead of latest. Keep the previous tag written beside it so you can revert the file. Run the Compose configuration check to confirm the rendered image value. Done when the file shows the pinned tag and the previous tag is recorded for rollback.
Stop and replace the container on the same volume
Stop the running Qdrant container, then recreate it with the pinned image while keeping the same storage volume mounted at the same path and the same API key, TLS and port settings. Do not delete the volume. Use docker compose up with the updated file, or the equivalent docker run. Rollback point: if the new container will not start, stop it, restore the previous tag and start again on the untouched volume.
Start the container and check logs
Start the new container and read its logs from start to the point where the API reports ready. Look for storage load errors, migration messages, and any warning about a configuration key that was removed or renamed. Confirm the container is running the target image with the docker inspect command. Done when the logs show a clean startup and the image digest matches the pinned tag. Rollback point: revert the tag and restart on the same volume if startup fails.
Run post-upgrade health checks
Call the root endpoint and confirm the reported version matches the target. Then list collections and compare counts and point totals with the pre-upgrade record. Run a known query with an expected result against a representative collection and compare the top results with your baseline. Finally, check the audit log for authenticated operations from this session. Done when all four checks pass. Rollback point: if any check fails, stop writers, restore the snapshots or revert the tag, and do not resume writes.
Record the new version and configuration state
Write the confirmed version, image tag and digest, the snapshot names and locations, the configuration file revision, and the health check results into the change record. Note any collection configs that need review after the upgrade and the date writes were resumed. Resume client writes only after this record is complete. Done when the record is stored with the backup location and rollback tag, so the next upgrade starts from a verified baseline.
What to do when the upgraded container fails its checks
If the new container fails its checks, the first decision is whether to roll back now or investigate first. Stop the new container, change the image tag in the Compose file back to the version you ran before, and start the service against the same volume. Then confirm the old version serves queries: check the health endpoint, list collections, count points in a few of them, and run a known search and compare the results with your pre-upgrade record. Do not treat a container that starts as proof of a working rollback. The rollback is only complete when real queries return the expected results.
A snapshot restore is needed only when the data itself may be damaged or the old image cannot read the volume. If the new container never completed startup or failed before writing, the untouched volume is usually the faster path. If it ran long enough to write data, assume the volume may have changed. Snapshot restores have a version limit: Qdrant snapshots from one cluster can be restored only to clusters running the same minor version or the next minor version. Restoring a snapshot taken on your old version into the old image is therefore within the rule, but restoring a snapshot taken on the new version into the old image is not. Confirm which snapshot files your backup routine produced and their source version before you plan the restore.
The riskiest case is a volume that the new version has already written to. Do not assume the old image can open it safely. Confirm with Qdrant, through its installation documentation or its support channels, whether a storage directory written by the new minor version can be reused on the previous image. Until you have that answer in writing, keep a copy of the volume taken before the upgrade and plan to restore from it. Record the decision, the image tags involved and the check results in your change log so the next upgrade attempt starts from evidence.
Compose stack or single docker run: what changes in the procedure
Most Compose deployments keep the Qdrant image tag, ports, volumes and restart policy in one docker-compose.yml file, so the upgrade is a file edit followed by a targeted recreate. Change only the Qdrant service, not the whole stack, and keep the project's named volume so the stored data is reattached to the new container.
- Pin the new tag: Edit the
image:line for the Qdrant service to an exact release tag from the Qdrant GitHub releases page, such as the version you tested, rather thanlatest. - Pull, then recreate one service: Run
docker compose pull qdrantand thendocker compose up -d --no-deps qdrantso dependent services are not restarted with it. - Keep the named volume: Confirm the
volumes:entry for the storage path still points to the same named volume before recreating, because a renamed volume starts with empty storage. - Check restart policy and dependents: Confirm
restart: unless-stoppedor your equivalent is set, and review which services depend on Qdrant throughdepends_onor application configuration. - Confirm port bindings: Check that the
ports:mapping binds to127.0.0.1or a private interface unless you intend public access, because Qdrant has no authentication by default.
After recreation, confirm the new version in the container logs and run a health check against the REST endpoint before reconnecting applications.
A container started with a long docker run command has no file to edit, so the procedure depends on recording the exact command. Stop and remove the container, then start a new one with the same volume mount, port mapping and environment variables, changing only the image tag. Keeping the original command is also your rollback plan, because rerunning it with the old tag restores the previous setup.
- Record the current command first: Save the full
docker runcommand, or the output ofdocker inspectfor the running container, to a file under version control before making any change. - Stop and remove the container: Run
docker stopand thendocker rmon the container name. The data stays in the volume, not in the container. - Keep the volume mount: Reuse the same
-vmapping to the storage directory or named volume so the existing collections are reattached. - Keep the port mapping: Reuse the same
-psettings and confirm the host IP in the mapping, since-p 6333:6333publishes on all interfaces by default. - Start with the new tag: Run the recorded command with the new pinned image tag, and keep the old tag and command ready for a rerun if the new version fails to start.
Before the restart, confirm the port bindings with docker ps and check that the REST and gRPC ports are reachable only from the networks you intend to allow.
Both procedures recreate the container, so the network exposure set on the first start is set again on the second. Qdrant's security documentation states that self-deployed instances listen on all network interfaces and have no authentication configured by default. A routine upgrade is therefore a point where an unintended public binding can be introduced, either by a copied command or by a Compose file that was edited without review.
- Check the bind address: Look for a host IP in each published port, and treat a bare port mapping as public exposure.
- Confirm authentication before reopening: Verify that API keys or your planned access controls are configured before the container accepts traffic from other networks.
- Test from outside the host: Run a connection test from a machine on the network you intend to allow and from one you intend to block.
- Review firewall rules: Host firewall and cloud security group rules can differ from what the container publishes, so check both.
- Record the bindings: Write the confirmed bindings into the upgrade record so the rollback command repeats them exactly.
Confirm the port bindings and authentication state before every restart, not only the first deployment, and ask your security team to review any change to these settings.
What makes a Qdrant Docker upgrade take longer
This table lists the factors that stretch a single-node Qdrant container upgrade and explains why each one adds work. Read each row as a question to answer before setting the change window, since most of the time goes to backups, verification and client testing rather than the image swap itself.
| Driver | Why it adds effort | How to reduce it |
|---|---|---|
| Number and size of collections | Each collection must be snapshotted, copied and checked, so backup and verification time grows with collection count and data volume. | Inventory collections, sizes and point counts first, then back up the largest ones early and verify them in parallel where storage allows. |
| Custom or non-default config files | Hand-edited config.yaml settings, storage paths and environment overrides must be carried into the new container and checked against the new release. | Keep config under version control, diff it against the stock file for the target minor version, and change only what the release notes require. |
| Client applications using new query features | Applications calling newer query APIs may break or need changes once the server moves, and each owning team must test before go-live. | List every client and SDK version in use, pin them, and test the features each application relies on against a copy of the upgraded container. |
| API keys and TLS to carry across | Keys, read-only keys and certificate paths must survive the image change, and a misconfigured key or TLS file can lock out clients or the upgrade script. | Store keys and certificate mounts in the Compose file or secret store, confirm they are mounted identically, and test one authenticated request on both REST and gRPC. |
| Testing on a copy of the volume | Running the new image against live data without a trial can surface migration or config problems only after users are affected. | Copy the volume, start the target image against the copy on a separate port, and run a fixed set of search and count checks before touching production. |
| Change window and sign-off | A single node means the service is down while the container restarts, so the window, communication and approval steps set the schedule. | Agree the window, rollback trigger and approver before the day, and rehearse the exact command sequence on the copy. |
| Collection config review after a minor release | Some settings and defaults can change between minor versions, so existing collections may need their configs checked after the upgrade. | Export each collection's config before and after the change, compare them, and record any differences as a documented follow-up. |
Questions teams ask before they upgrade Qdrant on Docker
What drives the cost of upgrading Qdrant on Docker, and who pays for what?
The cost is mostly the time of the people doing the work, plus any test environment you need to build. If your own team does the upgrade, you pay for their hours. If a partner does it, you pay for the written scope, which covers planning, the backup and restore check, the container replacement, validation and handover. Costs go up with the number of collections, the size of the data, how many client applications depend on the API, and how far behind the current version you are. Qdrant's open-source engine is licensed under Apache-2.0 and is free to self-host, so there is no license fee to upgrade. Ask any quote to itemize planning, testing, cutover, rollback support and any retainer for later upgrades, and to state which items are one-time and which recur.
How long does a single-node Qdrant upgrade take, and what sets the downtime window?
The downtime window on one node is the time between stopping the old container and the new one serving healthy requests. It is driven by the size of the data to check, the time the container takes to load collections on startup, and how long your clients need to reconnect and pass their own tests. Qdrant's guidance does not give a fixed duration, so measure it in a test copy with your own data before you choose a window. Confirm with your team the maximum outage your applications can tolerate, and schedule the window when write traffic is lowest.
What must our team provide before an upgrade starts?
Plan to provide the following before work begins:
- Shell or Docker access to the host, plus the Compose file, the image tag in use and the volume path.
- A current backup of the storage volume and a collection snapshot for each collection, stored off the host.
- A test copy of the deployment with representative data, so the new version can be checked before production.
- A list of client applications and SDK versions that call Qdrant, and the owners who can run their tests.
- Named sign-off from the business owner and the on-call engineer for the window and for any rollback decision.
Confirm the storage and snapshot locations with your security team, especially if backups leave the host.
Can one of our engineers upgrade a single Qdrant container alone?
Yes, for a small single-node deployment with a tested backup and a current copy of the Compose file, one experienced engineer can replace the image and keep the same volume. The risk comes from skipping the backup check, changing the volume path, or upgrading across several minor versions at once. Hand over the runbook, the backup and restore commands, the health check steps, the rollback image tag and a record of the previous version. Confirm the target version and its release notes on the Qdrant releases page before the window, because the checks depend on that version.
Can a single Qdrant node be upgraded without downtime?
No. A single node has no second copy of the data to serve requests while the container restarts, so the service is unavailable during the swap. Zero-downtime upgrades depend on a replicated cluster that upgrades one node at a time, and Qdrant's distributed mode requires a replication factor and at least three nodes for production quorum. Qdrant's documentation also notes that the community Helm chart does not give zero-downtime upgrades. If an outage is not acceptable, the realistic options are a cluster or a parallel environment that you switch over to, and you should confirm which fits your architecture.
What does a partner add in scope and rollback planning?
A partner turns the upgrade into a written, fixed scope with defined deliverables. In practice that usually includes a pre-upgrade inventory, a backup and restore test, a rehearsal on a test copy, the production container replacement, post-upgrade checks of collections and client calls, and a rollback plan with the exact image tag, volume state and snapshot to restore. DeployOpen plans, implements and documents self-hosted platforms in your own infrastructure, so the work runs in your environment. Ask for the rollback criteria in writing, the decision owner, and whether validation and handover are included.
Does Qdrant snapshot compatibility affect how we roll back?
Yes. Qdrant documents that snapshots from one cluster can be restored only to clusters running the same minor version or the next minor version. That means a snapshot taken before the upgrade is a valid restore point only for a matching or adjacent minor version, so a rollback to an older image may not accept it. Before the window, confirm the current version with the Qdrant docs, record the image tag and snapshot names, and test a restore in a test copy. Keep the volume backup as a second restore path.
How DeployOpen scopes and delivers a Docker upgrade
DeployOpen approaches Upgrading Qdrant on Docker and Docker Compose as a written, fixed-scope change to a single node that you run in your own infrastructure. The work starts with the current version, data volume and compose file, then moves through a rehearsed upgrade, verification and a handover your team can repeat.
How we scope
- We record the current Qdrant image tag, compose file, volume layout and host storage before quoting.
- The written scope names the target minor version and the path, one minor step at a time.
- We agree the downtime window, rollback point and who approves the cutover before work starts.
- Engagements are fixed-scope, with deliverables and timelines confirmed in writing before work begins.
How we build
- We take and verify a collection snapshot and a copy of the storage volume before any change.
- We rehearse the image swap on a copy of the environment with the same volume and compose settings.
- We check client SDK versions against the target server and test the application queries that depend on them.
- We confirm API keys, TLS and audit logging settings still apply after the container is recreated.
How we hand over
- You receive the runbook with exact pinned image tags, commands, health checks and the rollback steps.
- The handover includes the pre-upgrade backup record, verification results and the post-upgrade configuration review.
- We document the minor version you are on and the next step on the path so future upgrades follow the same method.
- Your team runs a dry run of the procedure with us so the steps are known before the next release.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer for Qdrant and the platforms around it.
- A retainer can cover the next minor upgrade, release review and client SDK checks on your schedule.
- Ask any partner for the written scope, the rollback plan and the named people who will run the change.
- Quotes follow from the written scope, so ask for the scope items that drive cost before comparing offers.

