I need to make a backup of my home directory on a dierctory present on DS211J.
That's why I set up rsync on the NAS in this way:
/etc/rsyncd.conf
- Code: Select all
#motd file = /etc/rsyncd.motd
#log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
use chroot = no
[NetBackup]
path = /var/services/NetBackup
comment = Network Backup Share
uid = root
gid = root
read only = no
list = yes
charset = utf-8
auth users = root
secrets file = /etc/rsyncd.secrets
[myhome]
path = /volume1/myhome
comment = myhome
uid = paolo
gid = paolo
read only = no
list = yes
charset = utf-8
auth users = paolo
secrets file = /etc/rsyncd.secrets
/etc/rsyncd.secret
- Code: Select all
root:<secret>
paolo:<secret>
When I run rsync from the client with this command:
- Code: Select all
rsync -av -e ssh --delete /home/paolo rsync://paolo@192.168.1.3:873/myhome
I asked for two passwords:
- Code: Select all
paolo@192.168.1.3's password:
Password:
@ERROR: auth failed on module myhome
rsync error: error starting client-server protocol (code 5) at main.c(1534) [sender=3.0.8]
I know the first password but the second I have no idea what it is.
A final information.
If I run:
- Code: Select all
rsync rsync://paolo@192.168.1.3:873
This is the result:
- Code: Select all
NetBackup Network Backup Share
myhome myhome
Can you help me?
thanks

