NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Kalle13
Oct 25, 2019Tutor
Rsync-Server Option - not see any folders
Hi,
I have now a problem with the remote backup on option "rsync-server" (not via ssh). I want to pull data from a server (Nextcloud) via "rsync-server" option. I've searched (unlike the other time) about this problem but I could only find one solution. But it wont work.
I've installed rsync on the server and configured it thropugh /etc/rsyncd.conf just like my other backup that works this way (with the ReadyNAS and a server).
There are in different subnets and my firewall (pfsense) connects them. In the firewall logs is nothing suspicious.
In the logs of my nextcloud server are this lines:
connect from ReadyNAS.localdomain (192.168.178.30)
module-list request from ReadyNAS.localdomain (192.168.178.30)
So I am guessing that the connection to the server is correct and the NAS is requesting something. But why I don' t see any folders served from rsync from the nextcloud server?
Best regards
/etc/rsynd.conf
path = /media/Daten
hosts allow = *
uid = root
# group permission
gid = root
# only read directory
read only = true
# Log Optionen
transfer logging = true
log format = %h %o %f %l %b
log file = /var/log/rsyncd.log
Kalle13 wrote:
But why I don' t see any folders served from rsync from the nextcloud server?
/etc/rsynd.confpath = /media/Daten
hosts allow = *
uid = root
# group permission
gid = root# only read directory
read only = true# Log Optionen
transfer logging = true
log format = %h %o %f %l %b
log file = /var/log/rsyncd.logThis looks somewhat misconfigured to me. Each module should start with [] section.
For instance if you look at the file on the NAS, you'll see something like
charset = utf-8
[SHARE1]
path = /data/SHARE1
comment =
use chroot = true
uid = root
gid = root
[SHARE2]
path = /data/SHARE2
comment =
use chroot = true
uid = root
gid = rootTry adding [Daten] to the beginning of your conf file.
6 Replies
Replies have been turned off for this discussion
- StephenBGuru - Experienced User
Kalle13 wrote:
But why I don' t see any folders served from rsync from the nextcloud server?
/etc/rsynd.confpath = /media/Daten
hosts allow = *
uid = root
# group permission
gid = root# only read directory
read only = true# Log Optionen
transfer logging = true
log format = %h %o %f %l %b
log file = /var/log/rsyncd.logThis looks somewhat misconfigured to me. Each module should start with [] section.
For instance if you look at the file on the NAS, you'll see something like
charset = utf-8
[SHARE1]
path = /data/SHARE1
comment =
use chroot = true
uid = root
gid = root
[SHARE2]
path = /data/SHARE2
comment =
use chroot = true
uid = root
gid = rootTry adding [Daten] to the beginning of your conf file.
- Kalle13Tutor
> Try adding [Daten] to the beginning of your conf file.
That was a good hint. I did it and it was a success. I could see the folders and could configure a backup job. But I could'nt get a backup job running, there was always a failure.
The first two where due to: the problem with the home folder (you have to choose the right one).The third and last where due to: I don't know. This was the failure from the ReadyNAS log: "rsync: failed to connect to xxxxxx Connection refused (111) rsync error: error in socket IO (code 10) at clientserver.c(127) [Receiver=3.1.3]"
After that third try I could not get any connection to the server nor see these folders. I absolutely don' t know why this happens so out of the blue that nothing works anymore. I also restartet the server and the ReadyNAS but no change.
- StephenBGuru - Experienced User
If you are using the hostname in the ReadyNAS backup job, try switching to the IP address.
If that fails, maybe try running the rsync client on the nextcloud server, and see if you can back up the folder that way. That might give you some more clues.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!