docker-volume-snapshot
docker-volume-snapshot copied to clipboard
Enhance command with defaults and modes for all volumes
I've used the script as a template for my own needs to migrate servers, sharing it for anyone's convenience.
- Adding default values for some arguments
- Adding
create-allmode to save all volumes into a single archive - Adding
restore-allmode to restore all volumes from the archive
Thanks for the pull request. I've updated the code. Can you please take merge and fix conflicts
Also, I don't feel this is the right direction for the simple command. I think it will just add unnecessary complexity. There can be a wrapper command which use this command to backup and restore all volume. But backing up all volumes shouldn't be part of this command.