[pbs-devel] [RFC v2 proxmox-backup] create prune simulator
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Oct 29 17:11:26 CET 2020
On 28.10.20 14:12, Fabian Ebner wrote:
> A stand-alone ExtJS app that allows experimenting with
> different backup schedules and prune parameters.
>
> For performance reasons, the week table does not use
> subcomponents, but raw HTML.
>
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
>
> Changes from v1:
> * add list view of backups as we have in PBS
> * make it possible to toggle the calendar and hide it by default
> * make it possible to toggle the colors and turn them off by default
> * fix backup sorting and uniqueness when there is more than one start time
> * add a button for applying a new schedule instead of doing so continuosly
> * make it more obvious that one can input a custom schedule
> * error out on invalid schedule inputs
> * make the number of weeks configurable
> * show which rule keeps a specific backup
> * keep all if all options are zero
> * minor style improvements
>
I find it pretty nice now, great job!
I'd only reorder it a bit, make it a full-page application and add some prune/schedule
documentation - we could maybe just pull that 1:1 from the docs html output or
something, it hasn't to be extra long just a short widget explanation and some other
info which would assist users to understand the concepts and plan their schedule
interactively.
I.e., something like the following layout:
+--------------------------------------------------+--------------------------+
| | |
| Simulated | |
| Backup Schedule | Documentation |
| | |
+-------------------------+------------------------+ * What this widget is |
| | | |
| Prune keep settings | Prune "keep" view | * prune params explained|
| | | |
| | | * ... |
| | | |
| | | |
+-------------------------+------------------------+ |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| Calendar | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
+--------------------------------------------------+--------------------------+
But in any way, I like it a lot more than v1, and that wasn't bad either :)
More information about the pbs-devel
mailing list