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

policy set --snapshot-interval=inherit not working #3852

Open
dimejo opened this issue May 7, 2024 · 0 comments
Open

policy set --snapshot-interval=inherit not working #3852

dimejo opened this issue May 7, 2024 · 0 comments

Comments

@dimejo
Copy link

dimejo commented May 7, 2024

Inheritance of the --snapshot-interval parameter works when it is defined in the global policy and not defined in the path policy. If the path policy sets a scheduling it is not possible to unset it by running kopia policy set --snapshot-interval=inherit.

kopia policy set --snapshot-interval=inherit user@host:/path/to/backup
kopia: error: time: invalid duration "inherit", try --help

It is however possible to force inheritance by manually editing the policy and removing the entry in the scheduling section.
kopia policy edit user@host:/path/to/backup
"scheduling": {},

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

No branches or pull requests

1 participant