garethgeorge / backrest

Backrest is a web UI and orchestrator for restic backup.
GNU General Public License v3.0
1.72k stars 50 forks source link

Cron Options missing after Update #427

Closed InnocentRain closed 1 month ago

InnocentRain commented 3 months ago

Describe the bug After updating to the 1.4.0 version all cron options other than "Every Month" are missing image

To Reproduce Schedule the Prune Policy to run every week on a specific day

Expected behavior image It should look like this, picture is from before the update

garethgeorge commented 3 months ago

Thanks for the report -- definitely some bugs here. Made some changes in 1.4.0 to try to reduce the number of options displayed for cron schedules that should typically be infrequent, but I think I was too restrictive in the options I set. Noticing that you can't pick time of day anymore either.

Hiding weekly was an intentional -- but I can see the desire to run e.g. on a specific day such as not in office. I'll bring it back for that use case.

garethgeorge commented 3 months ago

This will be fixed in https://github.com/garethgeorge/backrest/commit/cc173aa7b1b9dda10cfb14ca179c9701d15f22f5 , adds back "weekly" and "hourly" scheduling options for "check" and "prune" policies.