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 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.
Kalle13
Oct 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 Daten
sent 16 bytes received 12 bytes 56.00 bytes/sec
total size is 0 speedup is 0.00
and
# rsync root@127.0.0.1:/media/Daten /root/TEST -v
# root@127.0.0.1's password:
skipping directory Daten
sent 8 bytes received 34 bytes 4.42 bytes/sec
total size is 0 speedup is 0.00
Rsync 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.
- StephenBOct 28, 2019Guru - Experienced User
Kalle13 wrote:# rsync root@127.0.0.1:/media/Daten /root/TEST -v
Rsync can do recursive why is it skipping my "Daten" folder?
Although you've figured out your problem, I wanted to comment on this. You didn't include the -r option in the command line.
- Kalle13Oct 28, 2019Tutor
You're right. Thank you.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!