SKB
Dabbler
- Joined
- Jul 22, 2020
- Messages
- 21
HI all,
i am trying to push some backups from my debian virtual machine to the FreeNAS.
The rsync code i use is:
But this throws errors:
For sure, i could use:
But this doesn't bring the corrects rights to the files.
Is there a way, to get this working?
Thanks a lot!
i am trying to push some backups from my debian virtual machine to the FreeNAS.
The rsync code i use is:
Code:
rsync -a -R --inplace $SOURCE_FOLDER $BACKUP_FOLDER
But this throws errors:
Code:
rsync: chown "/mnt/backup/config/folder" failed: Invalid argument (22)
For sure, i could use:
Code:
rsync -a -R --no-owner --no-group --inplace $SOURCE_FOLDER $BACKUP_FOLDER
But this doesn't bring the corrects rights to the files.
Is there a way, to get this working?
Thanks a lot!