Replies: 11 comments
-
In theory, it should already be possible to set "Every 168 hours" (1 week) for a backup, right? It's just not that user-friendly. On the other hand, a drop-down menu with multiple options "Every week", "Every n weeks", "Every n months", "On the first day of each month" ... might become too confusing at some point. Maybe the option "Backup every x hours at y minutes past the hour" could be extended? Two ideas:
For me the question would also be, if the start and therefore reference value of the settings should/must always be the current system time. I don't know what feels more natural for the user experience. By the way: The wording "minutes past the hour" sounds a bit complicated here. |
Beta Was this translation helpful? Give feedback.
-
Why not just add another radio button below daily... Backup Weekly at "time" Day "day dropdown" |
Beta Was this translation helpful? Give feedback.
-
168 hours doesn't work correctly... in theory it should be 11/06/2020 or 06/11/2020 depending on date format... What happens instead is: |
Beta Was this translation helpful? Give feedback.
-
by making this 240 hours, it is now 7 days from today, looks like a bug to me... Next Backup: 2020-06-11 01:00 |
Beta Was this translation helpful? Give feedback.
-
Currently we support 2 timers: interval (backup every x days/hours) and fixed (backup at this hour every day). If you enter >24 hours in the interval scheduler, it will get converted to days automatically. So The starting point != current time, which is what you observed above. This is not a bug. If you are planning to add a weekly option, I'd add it to the fixed scheduler and make the time span a dropdown (daily, weekly, monthly). We use APScheduler internally, but don't want to expose every single option to keep it simple. |
Beta Was this translation helpful? Give feedback.
-
7*24 would be = 168. Then why does it only seem to work with 240 hours? #487 (comment)
👍 |
Beta Was this translation helpful? Give feedback.
-
It indeed seems to work with some values, 210 becomes about 4 days, so there seems to be a logic error in the conversion. |
Beta Was this translation helpful? Give feedback.
-
Here is my proposed UI design that replaces the daily and hourly options: The starting at box label would update to have the same date as the next backup label |
Beta Was this translation helpful? Give feedback.
-
I'm OK with adding the hour/day/week dropdown, but I find the Starting At field needlessly complicated. A user who wants backups every hour won't care when they start. |
Beta Was this translation helpful? Give feedback.
-
What about users who want to make sure that the backup starts at the hour the system was definitely booted? |
Beta Was this translation helpful? Give feedback.
-
There could be an option to run the backup if it was missed, so users don't have to worry about it. APScheduler does have an option for this https://apscheduler.readthedocs.io/en/stable/userguide.html#missed-job-executions-and-coalescing Also, the starting at field has to include the time, even in hourly backups. For example, I want to set my backups to run every 12 hours, at 9 am/pm so that I have a backup at the start of the day and the end of the day. The selector can either be QDateTimeEdit, or QDateEdit, and QDateEdit doesn't provide enough granularity for this case. |
Beta Was this translation helpful? Give feedback.
-
Please can you add weekly backups to the scheduler...
Beta Was this translation helpful? Give feedback.
All reactions