in NS7 there is a menu where I can backup the config files. In NS8 I can backup the complete app only , like: samba1 app, but it’s size is more then 20TB. I would like to backup the samba1 config files, but i want to backup shared folders’ contents with rsync or BackupPc. Is this possible?
On first releases of ns8 each module had ssh enabled (but probably with random credentials not known by the admins) that could have come as an option to achieve what you request, but access to apps was replaced by runagent.
As Andy implies, it should be possible to script it… (to get config files /databases from apps, appart from the full app backups) Only not readily available.
Unsure if api could come in help in any way…
Thank you all for your replies, now we have a better understanding of the possible solutions.
Our main problem with the current samba backup is that a file or folder cannot be restored. (e.g. due to accidental deletion days later)
A solution has been proposed to give the built-in backup the option to save only samba config files, and to save the files of shared folders with a custom script (rsync or backuppc). This way if the samba module gets corrupted (or we need to rebuild the server e.g. due to hardware failure), we could restore the samba module (fileserver+ad, …, users, machines) from the backup and later restore the files with rsync or backuppc.
(here is the info what we find on how to do the restore manually, ns8-samba/imageroot/actions/restore-module/60resume_state at main · NethServer/ns8-samba · GitHub)
The other option is to use backrest (webui for restic), but it is not very easy to set up/use.