I am trying to backup my complete mirror to another NAS (Zyxel) which is not running ZFS. After a bit of fighting I did get everything running except for a few hiccups... and now my FreeBSD/Freenas knowledge is running dry.
On the Zyxel I got an rsync daemon running with a separate authentication user inside the module.
On the Freenas I created a user named rsync-user and made it a member of wheel and my "superPeople" group. Next I created an rsync task and selected as user, rsync-user.
Like I said, this almost runs fine except for specific files such as the logs ".system/syslog/log/userlog".
(I guess) that makes sense because only root has read access to that file
Similar for my .ssh directory but a different user
Is there anything I can do to make rsync copy everything without having these permission problems? Or am I doing/seeing this the wrong way?
On the Zyxel I got an rsync daemon running with a separate authentication user inside the module.
Code:
[my-mod] secrets file = /my/us/ofwhatever path = /mnt/HD_a2/rsync/my-nas comment = from my nas to this nas read only = no list = yes uid = root gid = wheel auth users = rsync-user
On the Freenas I created a user named rsync-user and made it a member of wheel and my "superPeople" group. Next I created an rsync task and selected as user, rsync-user.
Like I said, this almost runs fine except for specific files such as the logs ".system/syslog/log/userlog".
Code:
Jul 29 14:04:04 me-nas rsync: rsync: send_files failed to open "/mnt/Mirror/.system/syslog/log/userlog": Permission denied (13)
(I guess) that makes sense because only root has read access to that file
Code:
-rw------- 1 root wheel 31210 Jul 29 12:22 userlog
Similar for my .ssh directory but a different user
Code:
drwx------ 2 me superPeople 6 Jul 26 17:21 .ssh/
Is there anything I can do to make rsync copy everything without having these permission problems? Or am I doing/seeing this the wrong way?