I am using OMV5 and Nextcloud on Raspi4.
I have 2 shared folders on OMV5. I access and use them on windows NAS, Nextcloud.
I want to backup my data in OMV to shared folder in Windows 10. Likewise, I want to back up Windows 10 to OMV.
For this I have added windows shared folder with remotemount to OMV.
I created 2 different tasks with RSync.
1- Windows 10 shared folder to OMV. No problem, it works fine.
2- Windows 10 to OMV. It works but it is changing folder permissions/ACL. It becomes root when the owner is www-data and becomes root when the group is users.
Delete from Nextcloud and etc. When I want to do something, it says you are not authorized.
How can I prevent the target from changing its authority (Owner/grup) when it synchronizes?
Can you help me. Thank you.