-
Notifications
You must be signed in to change notification settings - Fork 342
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
Bug? - Manual Snapshot Only Setting Not Overriding Global Policy #3344
Comments
Should have mentioned that when I set the local policy "Snapshot Frequency" to "every 10 Minutes" there was no error message ("invalid scheduling policy: manual cannot be combined with other scheduling policies") that I would have expected due to the scheduling being a conflict with the Manual Snapshots Only=yes in the global policy. |
How did you set 'manual policy only' for the global policy?
Also, what version of Kopia are you running? |
Policy was set via UI. I get a similar message if the snapshot frequency for the global policy is set to something other than the default (none) and then try to set manual snapshots to yes. Originally saw this in v13 but just recreated the problem in V14.1 as follows |
I was able to reproduce this on v0.14.1. But apparently I introduced an issue in the changes to --run-missed that makes it impossible to set 'run manually' to true on --global. So there are 2 issues here:
I think the 2nd issue is due to --manual being a bool instead of a tri-state. this is basically the same type of problem I was trying to fix in the --run-missed changes. I will work on both of these issues. Thanks. |
I have submitted pull-requests for both issues which will make it possible to override --manual from true->false |
Hi @PhracturedBlue, can you link your PRs with this issue, if the PRs solve it? This way, we keep track of resolved and unresolved issues. Cheers, |
@lupusA I'm not sure what you are looking for. When I look at this bug for instance I see: Both PRs mention this issue. |
My global policy for a repository has "Manual Snapshots Only" set to "yes". However for a particular folder I want to run regular 10min snapshots so during the snapshot setup using the UI I set the "Snapshot Frequency" to "every 10 Minutes" and set "Manual Snapshots Only" to "no" instead of "inherit from parent" then save the policy, but when I reopen the policy, the "Manual snapshots Only" setting has been reset back to "inherit from parent" and the blue tick mark next to defined by Global policy is still set.
Is the a bug?
The text was updated successfully, but these errors were encountered: