Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow passing only volume name to export/import #19

Conversation

Guiorgy
Copy link
Contributor

@Guiorgy Guiorgy commented Feb 7, 2024

file name will be inferred as the volume name with .tar.gz as file extension

E.g.

$ ./vackup export mosquitto_config
mosquitto_config
./
./mosquitto.conf
Successfully tar'ed volume mosquitto_config into file mosquitto_config.tar.gz
$ ls
mosquitto_config.tar.gz  vackup
$ ./vackup import mosquitto_config
mosquitto_config
./
./mosquitto.conf
Successfully unpacked mosquitto_config.tar.gz into volume mosquitto_config

PS. I haven't updated the usage text.

file name will be inferred as the volume name with .tar.gz as file extension
@BretFisher
Copy link
Owner

BretFisher commented Oct 25, 2024

Thanks for all the PRs. I'm going to close this one as I feel with the 4 commands always requiring from -> to, it gets confusing if some of those don't require a to.

@BretFisher BretFisher closed this Oct 25, 2024
@Guiorgy
Copy link
Contributor Author

Guiorgy commented Oct 25, 2024

Sure, that's also a valid choice.

@Guiorgy Guiorgy deleted the allow-passing-only-volume-name-to-export-and-import branch November 1, 2024 18:15
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