this post was submitted on 29 Nov 2023
3 points (100.0% liked)

Self-Hosted Main

504 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] elmicha@feddit.de 1 points 11 months ago

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.