NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rsync/permissions issue
I am trying to get my NetBSD 6.1.5 64-bit server to backup my RPiB+
which is serving as the ntp & timed master on my LAN. I tried the
following w/ the observed results:
[wam@4256EE1, ~, 8:05:45am] 525 % sudo rsync -avviiz --delete --exclude
'*.o' --exclude '*.a' root@rpitimer::root /home/rsync/RPiTimer
opening tcp connection to rpitimer port 873
rsync: failed to connect to rpitimer (192.168.0.1): Connection refused (61)
rsync error: error in socket IO (code 10) at clientserver.c(128)
[Receiver=3.1.1]
[wam@4256EE1, ~, 8:05:47am] 526 % uname -a
NetBSD 4256EE1.CFD.COM 6.1.5 NetBSD 6.1.5 (GENERIC) amd64
[wam@4256EE1, ~, 8:05:49am] 527 % whoami
wam
[wam@4256EE1, ~, 8:05:50am] 528 %
The RPi is running NetBSD as well:
rpi # uname -a
NetBSD rpi 7.0_BETA NetBSD 7.0_BETA (RPI.201503272230Z) evbarm
rpi # cat /usr/pkg/etc/rsync/rsyncd.conf
# rsyncd.conf - Example file, see rsyncd.conf(5)
#
# Set this if you want to stop rsync daemon with rc.d scripts
pid file = /var/run/rsyncd.pid
# Edit this file before running rsync daemon!!
[root]
path = /
comment = root fs ....
hosts allow = 192.168.0.0/24
rpi #
I (think I) have user 'wam' enabled to use sudo, but the above command
also fails as root. I do most of my across-the-LAN backups as the
regular user since that's most of what is getting backed up, mostly for
historical reasons. Probably more pilot error, any ideas for me :-/ ?
--
William A. Mahaffey III
----------------------------------------------------------------------
"The M1 Garand is without doubt the finest implement of war
ever devised by man."
-- Gen. George S. Patton Jr.
Home |
Main Index |
Thread Index |
Old Index