Skip to content

Enhance command with defaults and modes for all volumes#8

Open
2e3s wants to merge 6 commits intojunedkhatri31:mainfrom
2e3s:enhance-command
Open

Enhance command with defaults and modes for all volumes#8
2e3s wants to merge 6 commits intojunedkhatri31:mainfrom
2e3s:enhance-command

Conversation

@2e3s
Copy link

@2e3s 2e3s commented Jul 1, 2025

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

@junedkhatri31
Copy link
Owner

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

@junedkhatri31
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants