https://github.com/bhupesh-v/dvs
🐳 Create & Restore Docker Volume Snapshots/Backups
https://github.com/bhupesh-v/dvs
archive backup-utility development-environment docker-volume volume
Last synced: 9 months ago
JSON representation
🐳 Create & Restore Docker Volume Snapshots/Backups
- Host: GitHub
- URL: https://github.com/bhupesh-v/dvs
- Owner: Bhupesh-V
- License: mit
- Created: 2025-07-22T14:48:15.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-29T20:12:16.000Z (11 months ago)
- Last Synced: 2025-07-31T16:27:33.836Z (11 months ago)
- Topics: archive, backup-utility, development-environment, docker-volume, volume
- Language: Go
- Homepage:
- Size: 46.9 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dvs
Create & Restore docker volumes snapshots
## Why do I need this?
- Exchange persistent data across team members to reduce project onboarding
time.
- Back up volumes when switching workstations.
- If you manage storage solutions (e.g., MongoDB, OpenSearch, Postgres) using
Docker volumes, backing up and restoring data is easy.
## Quick Download
The `dvs` binary is present inside the archive.
| Platform | Architecture | Download |
| -------- | --------------------- | ------------------------------------------------------------------------------------------------------------ |
| Linux | amd64 | [dvs-linux-amd64.tar.gz](https://github.com/Bhupesh-V/dvs/releases/latest/download/dvs-linux-amd64.tar.gz) |
| | arm64 | [dvs-linux-arm64.tar.gz](https://github.com/Bhupesh-V/dvs/releases/latest/download/dvs-linux-arm64.tar.gz) |
| macOS | amd64 (Intel) | [dvs-darwin-amd64.tar.gz](https://github.com/Bhupesh-V/dvs/releases/latest/download/dvs-darwin-amd64.tar.gz) |
| | arm64 (Apple Silicon) | [dvs-darwin-arm64.tar.gz](https://github.com/Bhupesh-V/dvs/releases/latest/download/dvs-darwin-arm64.tar.gz) |
| Windows | amd64 | [dvs-windows-amd64.zip](https://github.com/Bhupesh-V/dvs/releases/latest/download/dvs-windows-amd64.zip) |
| | arm64 | [dvs-windows-arm64.zip](https://github.com/Bhupesh-V/dvs/releases/latest/download/dvs-windows-arm64.zip) |
### Important
- If you are on Windows, enable
[linux container support](https://learn.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/set-up-linux-containers)
before using `dvs` (this should however be enabled by default).
Extract the `dvs` executable and run it to verify that you see the following
output.
```
A tool to create and restore snapshots of Docker volumes.
Usage:
dvs [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
create Create snapshot file from docker volume
help Help about any command
restore Restore snapshot file to docker volume
Flags:
-h, --help help for dvs
Use "dvs [command] --help" for more information about a command.
```
## Usage
### Create a snapshot
```bash
dvs create
```
Example
```bash
dvs create my_volume my_volume.tar.gz
```
### Restore from snapshot
```bash
dvs restore
```
Example:
```bash
dvs restore my_volume.tar.gz my_volume
```
## Acknowledgments
> `dvs` is the cross platform port for
> [docker-volume-snapshot](https://github.com/junedkhatri31/docker-volume-snapshot),
> originally created by Juned Khatri.