Docker Storage Migration.
Fast. Isolated. Reliable.
Import, Export and Migrate Docker Volumes and Bind Mounts on Windows, macOS, and Linux.
Running directly over the native Docker Engine API with zero external host dependencies.
See DSMT in Action
Witness how DSMT performs migrations using zero local requirements. Fully containerized, lightning-fast, and completely clean.
Under The Hood
Auto-Detection Intelligence
Automatically detects whether the target is a Docker volume or a local host bind-mount path.
Native Socket Connection
Automatically detects and connects to the local Docker engine via Unix sockets or Windows Named Pipes.
Zero Host Dependencies
Spawns isolated, lightweight containers (busybox) to process archives. No host tools required.
Direct Tarball Archiving
Mounts the Docker storage alongside the target host path to archive and compress in a single pass.
Guaranteed Self-Cleaning
Ensures container cleanup, automatically removing temporary run containers when done or if interrupted.
Install DSMT
Get up and running in seconds. Install via package manager, run a quick install script, or download the precompiled binary directly.
These one-liners download, verify, and place the pre-compiled binary directly in your system PATH.
CLI Docs & Reference
Detailed command specifications, flags, and usage patterns. Master the simple yet powerful interface of DSMT.
The export command extracts data from a specified Docker volume or local host directory (bind mount) and packages it into a compressed gzip tarball (.tar.gz). DSMT runs a secure, isolated container to perform the compression, ensuring no extra archival dependencies are required on your host machine.
| Argument | Type | Required | Description |
|---|---|---|---|
| <src> | String | Yes | Name of the Docker volume or absolute path of the local bind mount to export. |
| <dst> | String | Yes | Target directory path on the host where the exported tarball will be saved. |
| Flag | Description |
|---|---|
| -v, --volume | Force DSMT to treat the <src> parameter as a Docker Volume (disables auto-detection). |
| -b, --bind | Force DSMT to treat the <src> parameter as a Host Bind Mount (disables auto-detection). |
| -h, --help | Display help and usage details for this command. |
dsmt export mongodb_data ./dsmt export /var/www/html ./backupsdsmt export -v ambiguous_name /backupsDSMT automatically detects if the source <src> parameters refer to a Docker Volume or a local Host Bind Mount:
Any target containing folder separators (e.g. /, ./, or windows paths like C:\) is resolved as a host path.
Single word or alphanumeric names are matched directly against active Docker Volumes on the daemon.
To override auto-detection and resolve naming ambiguity, use explicit flags: -v, --volume or -b, --bind.