Move Dokploy by mapping every persistent mount first, transferring data according to whether it is a named volume or a bind mount, and validating the restored application in isolation before routing production traffic. This approach fits developers and small teams moving Compose-managed applications; it does not assume Dokploy guarantees a complete migration.
For developers moving AI applications, the priority is keeping databases, uploads, and knowledge-base files intact.
For operators, the task is to separate mount data from service definitions and environment configuration.
For technical leads, the decision is whether the destination has passed a real application-level recovery check before cutover.
Before the move: map data, not just services
A Compose file can describe how services run without containing the data those services use. The first migration task is therefore to identify where state lives, not simply to copy the deployment definition and start the same containers elsewhere.
Start with every Dokploy-managed Compose application and record its services, mount declarations, environment configuration, and dependencies. For each service, note the container path and the source of the mounted data. The source may be a Docker named volume or a path on the host. Those storage types have different migration implications: Docker’s volume documentation describes Docker-managed storage, while Docker’s bind mount documentation explains how a container can depend on a specific host path.
| What you find | Where the data lives | Migration implication |
|---|---|---|
| Named volume | Managed by Docker and referenced by the Compose service | Dokploy’s documented volume backup feature is relevant; confirm the backup and restore procedure for the deployment before relying on it. |
| Bind mount | A host directory or file mapped into a container | Plan a separate transfer of the host path and preserve the expected destination path and permissions. |
| Container writable layer | The container’s own filesystem, not a declared persistent mount | Do not treat the running container image or Compose definition as a reliable copy of this data. Identify and export anything important before replacing or recreating the container. |
| Environment and service configuration | Dokploy or Compose deployment configuration | Recreate and verify configuration separately from volume data; include secrets through the team’s approved secure process. |
Dokploy states that its volume backup feature applies to Docker named volumes, not bind mounts. That boundary matters: a successful named-volume backup does not establish that host-path data was included. Review the Dokploy volume backup documentation and compare its scope with the actual deployment.
A service may also depend on data outside the obvious application directory. A database may store records in a mount, while an AI application may store uploaded documents, generated artifacts, or vector index files in a different service. Check each service’s Compose mount declarations and inspect the actual container mounts on the source server. When the effective mount does not match what the deployment owner expects, consult Dokploy’s mount troubleshooting guide.
A backup task completing is evidence about that task’s scope, not proof that the application can read its original state after restoration.
Source-side preparation: create a migration record
Before changing the source deployment, assemble a migration record that another operator can follow. Keep the record separate from the data archive, and restrict access if it contains sensitive configuration.
For each application, capture:
- The Dokploy project and service names, and the Compose definition used for deployment.
- Each service’s mount type, host-side source or named-volume reference, and container-side destination.
- The environment values and secrets required to recreate the service, stored using the team’s secure process.
- The dependencies between services, such as an application connecting to a database or a workflow service reading uploaded files.
- The data that must be checked after recovery: representative records, files, knowledge-base entries, or other application-specific state.
- The source deployment’s current status and any known maintenance constraints.
Review the Compose definitions for named volumes and bind mounts separately. The Compose volumes reference explains how volume declarations are represented. Use it to confirm what the definition declares, then compare that with the running service. Do not infer that every path or file used by a container is persistent merely because the service itself can be redeployed.
Next, determine how Dokploy’s backup and restore process applies to the named volumes in this deployment. Follow the current procedure in the volume backup documentation, and check whether the target volume already exists or is in use before restoring. Avoid improvising a restore over an active destination: first establish which data is present there and whether any destination service is writing to it.
Destination preparation: match definitions and paths
Prepare the target server before transferring production data. Recreate the intended Dokploy project and service definitions, but keep the target isolated from production traffic. Avoid starting services in a way that creates empty storage locations where restored data is expected.
For a named volume, confirm that the destination service references the intended volume and that the restore procedure will populate the volume the application actually mounts. Docker’s volume lifecycle and Compose’s declared volume names can affect whether a deployment sees an existing volume or creates a new one. Confirm the intended volume against the migration record before restoring data.
For a bind mount, prepare the destination host path deliberately. Verify that the path matches the Compose declaration and that the service can access its files under the expected permissions. Because a bind mount depends on a path on the host, transferring files to a different directory without updating the service definition can leave the application looking at an empty or unintended location.
Dokploy’s service transfer documentation may help when moving a service between Dokploy environments, but service transfer and data recovery are not interchangeable tasks. Review the current Dokploy service transfer documentation for its scope, then confirm separately how the source data is being moved.
| Destination check | Named volume path | Bind mount path |
|---|---|---|
| Definition | Confirm the service refers to the intended named volume. | Confirm the host path and container destination match the migration record. |
| Existing state | Check whether the volume already exists and whether a container is using it. | Check whether the target directory already contains files or is mounted by a service. |
| Data transfer | Use Dokploy’s documented volume backup and restore process where it applies. | Transfer the host-path data separately and preserve the intended directory structure. |
| Before startup | Verify the restore target and avoid accidental writes to an empty volume. | Verify the destination path and access permissions before starting the application. |
Data transfer: handle each mount type separately
For named volumes, use the Dokploy-documented backup and restore workflow for the source and destination. Confirm the volume identity and the intended restore target before proceeding. If a destination volume is already present, determine whether it contains useful data and whether a container has it mounted. Do not assume that a volume with the same service label is necessarily the right target.
For bind mounts, copy the host-side data using a process suitable for the team’s environment, then confirm that the destination directory contains the expected files. Dokploy’s named-volume backup feature does not cover bind mounts, so a successful status from that feature cannot establish that a bind-mounted directory has moved.
Treat configuration as its own transfer item. Recreate the service definition and supply its required environment values and secrets through a secure process. A correct data directory with a missing database connection value can prevent the application from reading its state. Conversely, valid configuration can connect an application to an empty or incorrect volume. Keep these checks separate so the source of a failure is easier to identify.
Before starting the destination service, compare the actual mounts with the migration record. If a mount is missing or points somewhere unexpected, stop and correct the definition before application writes begin. Dokploy’s Compose guidance covers mount and deletion behavior; use it to check what the deployment definition will do before applying changes.
Recovery validation: prove the application reads restored state
Start the destination in an isolated mode that cannot accept production writes. The exact isolation method depends on the application and its network setup. The goal is to make the destination available for checks without allowing the source and destination to update the same logical data independently.
Validate through the application, not only at the container level. Use the checks recorded before the move:
- Open representative existing records and confirm that their content is intact.
- Retrieve files or documents that were uploaded before the migration.
- For a knowledge-base application, run a search or retrieval check against known content.
- Confirm that dependent services, such as a database or vector store, are reachable and are using the intended restored data.
- Review application health checks and logs for mount, permission, or connection errors.
A container can start while using an empty volume. A webpage can load while a background service points to a newly created data directory. Neither condition proves that application state has been recovered. Compare observed application data with the source-side record and investigate any mismatch before allowing writes.
If checks fail, stop destination writes and inspect the actual mounts, permissions, configuration, and restore target. Keep the source available as the recovery path until the destination passes the application-specific checks. Record the failure and the corrective action so the migration record reflects the final working configuration.
Cutover: switch traffic only after the recovery gate
Once the destination reads the expected state, plan the traffic change around the application’s write behavior. If the source continues accepting writes while the destination is prepared, the two environments can diverge. Choose a controlled point to pause or redirect writes, perform the final required data transfer, then verify the destination again before directing normal traffic to it.
Document the rollback condition before switching. Define which validation failure would stop the cutover, who can make that decision, and how the source will remain available without accepting conflicting writes. Dokploy’s service transfer guide can inform the service-side move, but it should not replace the team’s data consistency and rollback plan.
After traffic moves, check the application’s key functions and monitor its storage growth and service dependencies. Retain the source in a non-writing state until the destination has remained stable through the team’s agreed observation period. Do not remove source data simply because the new container starts or the first page request succeeds.
Use this migration gate before the cutover:
- [ ] Every service has a recorded Compose definition and required configuration.
- [ ] Every persistent mount has been classified as a named volume or bind mount.
- [ ] Named-volume backup coverage has been checked against Dokploy’s current documentation.
- [ ] Bind-mounted host paths have a separate transfer and destination-path check.
- [ ] The target volume or directory has been checked for existing data and active users.
- [ ] The destination is isolated from production writes during recovery validation.
- [ ] Representative records, files, or knowledge-base content are readable in the application.
- [ ] The traffic switch and rollback conditions are documented.
- [ ] The source remains available until the destination passes the agreed checks.
For future migrations, see our server exit checklist and disk recovery drill guide to strengthen the surrounding operational plan.
FAQ
Compose files and application data
A Compose definition describes services and their mounts. It does not carry the contents of a named volume or a host directory to a different server. During Dokploy self-hosted migration, identify each storage location first, then move the data independently from the service definition and configuration.
Named volumes and bind mounts
Dokploy documents volume backups for Docker named volumes, while bind mounts point to host paths and need separate handling. Check the mount type in the Compose definition and confirm the effective mount on the source. Do not assume a backup covers both storage types just because the service uses both.
Verifying restored application state
Use the application to read representative old records, files, or knowledge-base content while the destination is isolated from production writes. Check dependencies and health signals as well. A successful container start or accessible page is not enough to show that the restored service is reading the intended data.
Data that Compose does not move
A Compose file can define mounts but does not package their contents. Named-volume contents and bind-mounted host files must be transferred separately. Data kept only in a container’s writable layer should not be treated as a dependable persistent copy; identify anything important before recreating the service.
Matching the validated workload to a server
Once the migration is verified, use the observed data size, service dependencies, and operating load to select the destination environment. The relevant decision is not simply whether the Compose stack starts; it is whether storage capacity and sustained resources fit the services that will remain active.
HttpNode lists dedicated AMD EPYC servers with 128GB or 256GB of DDR4-3200 ECC memory, two directly connected 1TB NVMe drives, and 250 Mbps, 1 Gbps, or 2 Gbps bandwidth options. The listed systems include Linux choices and SSH access, with Tokyo as the data center location; confirm current availability and details on the HttpNode server options page. These specifications do not include a backup service, so keep an independent backup and recovery process for application data.
A shared VPS may suit a temporary test or a lightly used service, but shared resources and less control over the host can be limiting when several stateful services run together. A dedicated server is a better fit when the verified workload needs exclusive machine resources and predictable control over its storage and operating environment. For a Dokploy stack that has outgrown shared hosting, compare its measured needs with the current dedicated server options before choosing where to run it.
Frequently asked questions
How should Compose data be moved when Dokploy is moved to another server?
Start by mapping every service to its persistent mount and configuration, then transfer the data according to the mount type. Dokploy's volume backup feature covers Docker named volumes, while bind mounts depend on host paths and need a separate migration plan. Restore to the destination and verify the application reads its expected records before changing production traffic.
Can Dokploy back up named volumes and bind mounts the same way?
No. Dokploy documents its volume backup feature for Docker named volumes, not bind mounts. A bind mount points to a path on the host, so the files must be handled as host-path data. Check the Compose definition and actual container mounts on the source before choosing a transfer method; do not infer coverage from a successful backup task.
How can a team confirm that the restored Dokploy app reads old data?
Keep the destination isolated from production writes, start the restored service, and inspect data through the application itself. Verify representative records, uploaded files, or knowledge-base content and run the application's own health and functional checks. A running container, an accessible page, or a backup archive alone does not prove that the expected data was restored.
Which container data will not move with a Compose file?
A Compose file describes services and mounts; it does not carry the contents of host paths or named volumes to another machine. Data written only to a container's writable layer is also not a dependable migration source. Inventory mounted data, application configuration, environment values, and secrets separately, then transfer each item using a method suited to its storage location.
Dedicated AMD EPYC 7543P server, from $469/month