RSYNC GUI Option wanted to not modify the remote target dir permissions

  • 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.

    OMV 5 | 64 bit | backport kernels | latest omvextrasorg
    low power Skylake NAS build <= 10 watts idle (4 disks), Fujitsu D3417-B, 16GB ECC RAM, 4x4TB WD Red - RAIDZ1, 128GB M.2 NVMe SSD boot.
    backup NAS HP Proliant N54L, 4GB ECC RAM, 4x4TB WD Red - RAID 5, 30GB SATA boot.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!