Backup Rsync Error

NethServer Version: 7.9.2009
Module: Backup

I have a problem during rsync backup, the destination is a nfs folder on a synology nas and the error i receive on the log is that:

rsync: chown "path-to-the-file" failed: Invalid Argument (22)

Any toughts on that?
Thanks.

It’s about using NFS4 which has issues when setting owners that don’t exist on the NAS side.
The rsync_tmbackup wants to set same owner/permissions on the NAS as on the NS7. But for example the zabbix user doesn’t exist on the NAS, so it’s not possible to change the owner of /etc/zabbix/psk.shared to user zabbix and you get the “Invalid Argument” error.

You could try to configure NFS3 on the Synology NAS or use Samba instead of NFS4.