Backup and share volumes
Tell us about your request Provide the ability for users to backup and share volumes via Docker hub
Which service(s) is this request for? Desktop, CLI & Hub
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? Using volumes today is great but you are always one system prune away from loosing everything you were working on. When it comes to sharing volume content you must rely on people re-creating the same state which isn't always true
Are you currently working around the issue? Not backing up volumes/using scripts to re-create them
Additional context N/A
This would be a very handy addition to the Docker Deskop app. Perhaps a simpler first pass implementation would be a quick and easy way to export/import volumes to a local compressed .tar.gz file? Currently we have a readme in our repository with the commands/scripts to do exactly that. Putting it into the Docker Desktop UI would make it that much easier.
@jrwagz Ohhh awesome feedback!! We have a way in 4.1 and above for all users regardless of subscription to download data from a volume (it used to be for pro users in older versions), I wonder if this is what you are looking for?
When you click into a volume, you can do this in the data tab! We'd love to hear your feedback on this if you do get a chance to try it :)

@stephanierifai , awesome! This is a step in the right direction! I took a look and here are the things I need it to do, that I can't figure out how to do currently:
- how to export an entire volume, and not just a given folder or file in a volume?
- how to re-import the export back into the volume?
Thanks!
Oh! Good point. Yeah you can't do that know, we did a bit of a spike around being able to mount a volume to/from host, but only gets you part of the way there in terms of adding in/exporting volumes. I wonder if you'd be interesting in talking more about what we've done and giving some more feedback? If so you can email me at [email protected] :) !
@jrwagz It's been a bit, but I wanted to let you know that we created an extension to help with this problem. We'd love your feedback on if it meets your needs. The extension allows you to:
- Back up data that is persisted in a volume (for example, database data from Postgres or MySQL) into a compressed file.
- Upload your backup to Docker Hub and share it with anyone.
- Create a new volume from an existing backup or restore the state of an existing volume.
- Transfer your local volumes to a different Docker host (through SSH).
- Other basic volume operations like clone, empty, and delete a volume.
The extension can be found here: https://hub.docker.com/extensions/docker/volumes-backup-extension