Hello,
in order to run rsync backup from OMV to a QNAP NAS there is a problem to get the user access rights transferred, because the QNAP does not have dedicated users for the modules. And a backup using the admin account does modify the target rights on the QNAP esp. those on the share directory which gives a big problem for smbd. While using the --owner option it is possible to preserve the uid (must be aligned on the QNAP before) and other useful settings.
From the command line adding a directory wirldcard char to the source dir is preventing rsync from touching the target dir permissions though. But the OMV gui does not allow to add the extra needed wirldcard char and I struggled to add this option to the OMV rsync scripts.
So I am fine with putting everything is a shell script, but still want to benefit from the nice GUI and would expect that other users have could make use of this as well.
The comand line that works (source_dir/*):
rsync -rlptg --owner --chmod=ugo=rwX rsynctest/* rsync://rsync@nas419p/rsynctest/
On the javascript side a nice extra checkbox to include the wildcard char like this... would be fine
xtype: "checkbox",
name: "moddesturi",
fieldLabel: _("Modification of Destination Shared folder"),
checked: false,
boxLabel: _("Add /* to the source folder to prevent changing desitation shared folder permissions")
Any other hint is very welcome.