I try to backup my data (photos, data is not changing a lot) from TrueNAS core into Zyxel NAS540.

Unfortunately Zyxel supports NFS/SAMBA/FTP, but it have no rsync.

There is entware, I installed it and now I have rsync command working inside my zyxel NAS.

https://github.com/Entware/Entware/wiki/Install-on-Zyxel-NAS542

unfortunately, if I try to rsync data from TrueNAS to zy-nas, I get an error:

root@truenas[/]# rsync -avr --info=progress2 /mnt/source_folder 192.168.x.x:/i-data//backup

root@192.168.x.x's password:

sh: rsync: not found

rsync: connection unexpectedly closed (0 bytes received so far) [sender]

rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=3.2.5]

root@truenas[/]#

Question: Any idea what is wrong with my setup? I am very noob with embedded systems.

Alternatively - is there another easy way to backup data from TrueNas into samba/nfs share?
It is 2nd backup, (one backup is done in same machine, different drive) I don’t need to do it on daily basis.

  • elmicha@feddit.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 年前

    I don’t know how Entware works, but probably it installed rsync not in /usr/bin, but somewhere else. Find it somehow (e.g. by running find / -name rsync).

    rsync has a command line option --rsync-path.