docker-volume-snapshot icon indicating copy to clipboard operation
docker-volume-snapshot copied to clipboard

Enhance command with defaults and modes for all volumes

Open 2e3s opened this issue 5 months ago • 2 comments

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-all mode to save all volumes into a single archive
  • Adding restore-all mode to restore all volumes from the archive

2e3s avatar Jul 01 '25 21:07 2e3s

Thanks for the pull request. I've updated the code. Can you please take merge and fix conflicts

junedkhatri31 avatar Jul 03 '25 09:07 junedkhatri31

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.

junedkhatri31 avatar Jul 03 '25 09:07 junedkhatri31