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 ti...
- Oct 26, 2019
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.
StephenB
Oct 26, 2019Guru - 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.log
This 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 = root
Try adding [Daten] to the beginning of your conf file.
- Kalle13Oct 27, 2019Tutor
> 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.
- StephenBOct 27, 2019Guru - 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.
- Kalle13Oct 27, 2019Tutor
StephenB wrote:If you are using the hostname in the ReadyNAS backup job, try switching to the IP address.
I did both. Nothing worked.
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.
I did the following:
# rsync /media/Daten /root/TEST -v
skipping directory Datensent 16 bytes received 12 bytes 56.00 bytes/sec
total size is 0 speedup is 0.00and
# rsync root@127.0.0.1:/media/Daten /root/TEST -v
# root@127.0.0.1's password:
skipping directory Datensent 8 bytes received 34 bytes 4.42 bytes/sec
total size is 0 speedup is 0.00Rsync can do recursive why is it skipping my "Daten" folder?
After that I tried to configure a backup job on the readynas. What should I say, it works! Yeah! :smileylol:
It seems that I was only dumb yesterday and instered a wrong Hostname. So the first of hint of you: to add this "[SOURCE]" in my config was the thing.
Thank you StephenB, the second time!
So this case is closed.
Related Content
NETGEAR Academy

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