Hi,
The missing feature was added to the Backup Config
Now the number of backups can be defined by the user into the UI
Please write your feedback here if you have tested the module and you encounter errors.
With this modification the module is finished and all the features were added.
Hi Adam,
Well, the module is functional, the code is on Git. The only thing is that I did not build a rpm .
Maybe also the way the download files are handled is not optimal.
Iām still looking for better options but did not find anyā¦
But if you want to use the module you can overwrite the files from NS with the ones in the Git and it will work
If somebody has some suggestions share them and we will see what we can work.
Hi Davide,
Well, Iāve never builded a rpm before . But also there are the modifications to the sudoers that I do not know how to make them integrated into the rpm so that at install they will be added to the target sudoers fileā¦
Also the backup download folder is a symlink, and I do not know if this is the best solution.
If you have some Tips on how I can solve this issues please share
I installed it on my VM. It seems backup archives are created, but are not listed by UI.
However, as I was saying some time ago, we need to fix some issues on the UI, to make it more compliant with other modules. I know Nethgui is a bad beast, so Iād try to rework the code. What do you think?
Hi Davide,
Thankx for testing and for building the rpm
Regarding the issue:
Is there a symlink from the backup folder to the root of the webserver?
Otherwise the function to list the files will not work because it canāt get out more then the webserver root.
Hi @Adam,
You will need to add the script /sbin/e-smith/delete-config to the sudoers, Like in the image
Otherwise the script is not allowed to delete the files.
Yes Iāve also was thinking on adding a upload field to be able to put your backups from outside NS.
Probably the next feature is to add that upload field.