netinvent / npbackup

A secure and efficient file backup solution that fits both system administrators (CLI) and end users (GUI)
GNU General Public License v3.0
141 stars 5 forks source link

retention policy enheritance #66

Open GuitarBilly opened 2 weeks ago

GuitarBilly commented 2 weeks ago

v3.0.0.1.rc1 https://github.com/netinvent/npbackup/releases/tag/v3.0.0-rc1

How can one restore the retention policy Group enheritance once it is removed?

steps to remove the enheritance:

  1. start npbackup-gui
  2. open configuration
  3. tab Retention policy
  4. fill in six new values for each Repo: default policy
  5. fill in six new values for each Group: default_group policy
  6. select Repo: default and the [G] have disappeared
  7. no way to get the [G] group enheritance back? i tried clearing boxes, set new values for Group etc.

screenshots step4: afbeelding

step5: afbeelding

step6: afbeelding

step7: afbeelding afbeelding afbeelding afbeelding afbeelding

.

deajan commented 2 weeks ago

Thank you for your feedback with all those issues :) I am currently with very limited internet access. I'll try to reproduce the bug and report back next month, unless internet gets good ^^

deajan commented 2 weeks ago

So the bug was fairly simple. The GUI gave "" as empty string, which in inheritance comparaison wasn't None. You can try current master or wait until RC2 release somewhere in July. Feel free to re-open the issue if needed.

deajan commented 2 weeks ago

Solving the manager password issue introduced another inheritance issue. I'll keep this open as placeholder for the current inheritance bug, which can be triggered the same way.