WD Community

Can't change rsyncd path to a different partition

/etc/rsyncd.conf

pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
log file = /var/log/rsync.log
port = 12000
use chroot = false

[files]
path = /DataVolume/backup/wsd
#path = /home/wsd
comment = RSYNC FILES
read only = false
timeout = 300

“rsync” worked when the path was /home/wsd. But that partition is too small. When I change the path to /DataVolume/backup/wsd (with correct permissions), I get:

rsync: ERROR: cannot stat destination “.” (in files): Permission denied (13)
rsync error: errors selecting input/output files, dirs (code 3) at main.c(572) [receiver=3.0.3]
rsync: [sender] read error: Connection reset by peer (104)
rsync error: error in socket IO (code 10) at io.c(806) [sender=3.2.7]

drwxrwxrwx 2 wsd wsd 65536 Sep 25 05:54 /DataVolume/backup/wsd/

It’s working now but to a different destination. This is what I did:

  • http://mybooklive/UI/ssh#
  • added “wsd” to Shares in web page
  • Entered MyBookLive root pwd in .rsync_pass
  • sshpass -f /.rsync_pass rsync -av /home/wsd/* root@MyBookLive:/DataVolume/shares/wsd/
Support for Western Digital Hard Drives | Western Digital

Still Need Help?

Reach out to Support for more assistance.

Sign in to Your Support Account

Get up-to-date information about your products.

Western Digital Business Portal

Unlock benefits and tools for your business such as enterprise support, pricing and rebate tools, marketing, loyalty, rewards, and more.