When installing cockpit server-manger I notice it brings nethserver-backup-config, nethserver-backup-data, duplicity, restic, dav2fs, etc. as dependencies, even if the user doesn’t choose to install the backup module.
In the nethgui server-manger, the backup module appears as not installed (because restore part isn’t), but the backup menus are there. But that’s not the issue I want to point the finger to.
I guess this is done in order to have the backup options in cockpit UI. Having nethserver-backup-config serves its purpose, but I’m not sure bringing the other components make sense, and goes in detriment of modularity. If a user doesn’t want to use backups, and module is not installed, no reason to show it.
Is there a technical reason for that (,that cannot be solved in another way)?
I haven’t played at all with cockpit or its backup part, and therefore I’m not aware of the internals, so take my words with a grain of salt.