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

Define an option to autocreate prefix on target zpool with subcommand backup #42

Open
thorstenspille opened this issue Mar 17, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@thorstenspille
Copy link

The subcommand backup stops, if the target prefix is not present on the zpool.
By default the program should print a message like The configured prefix was not found on the target zpool. Please ensure you created the prefix and have sufficient permissions..
The workflow with the config option activated could be:

#check if prefix present on zpool
if not exists:
    try:
        # create prefix
    except:
        print (f"Auto-creation of prefix {prefix} on zpool {zpool} on target failed. Please ensure you have sufficient permissions.")
@s-m-e s-m-e added the enhancement New feature or request label Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants