Description
Vackup is a script for backing up and restoring Docker volumes, the storage Docker uses for container data. It runs from any host or container where the Docker CLI is available. It has two ways of working: export and import copy files between a volume and a gzip-compressed tarball on your machine, and save and load copy a volume's contents into a busybox image, so volume data can be pushed to and pulled from image registries. The export command can change the ownership of the archive on Linux, which has no effect on macOS. The README notes that for open files such as databases, it is better to use the database's own backup tool and then store that file in a volume. The tool installs by placing the vackup script on your path and making it executable. A test suite written with Bats checks all four commands on macOS, Linux and Windows WSL, and the README explains how to run it locally. The author notes at the top of the README that Docker Desktop's Volumes tab now includes similar backup features, and that Vackup remains for people who do not use Docker Desktop. The project is public on GitHub.…
Highlights
- Export and import volumes as gzip tarballs
- Save and load volume data through container images
- Works from any host with the Docker CLI
- Bats test suite on macOS, Linux and WSL
- Single script to install
Ratings & Reviews
No ratings yet
Be the first to rate Docker Vackup.
People also visit
Docker Vackup FAQ
What does Vackup do?
It backs up and restores Docker volumes, using either gzip tarballs or container images.
How do I back up a volume?
Run vackup export with the volume name and a file name, which creates a gzip tarball in the current directory.
Does it replace Docker Desktop's backup feature?
The README says Docker Desktop's Volumes tab has similar features. Vackup is kept for people who do not use Docker Desktop.
Is it safe for databases?
The README advises using the database's own backup tool for open files, then storing that backup file in a volume.
How do I install it?
Download the vackup file from the repository, put it on your shell path and make it executable.
What are the best Docker Vackup alternatives?
Popular alternatives to Docker Vackup include Docker Volume Backup, Docker Volume Backup and Bivac. See all Docker Vackup alternatives



