rsync - daemon not running (Solution)

all about Meteohub on the new Raspberry PI platform

Moderator: Mattk

Post Reply
gm4jjj
Expert Boarder
Expert Boarder
Posts: 108
Joined: Mon Jan 18, 2010 3:53 pm
Location: Dunfermline, Fife UK

rsync - daemon not running (Solution)

Post by gm4jjj »

As I did not seem to be able to create a backup in the /public folder, I thought I would try rsync instead.

I am not sure if the rsync daemon is running because when I try I get:

./rsync -uav --info=progress2 rsync://root@meteohub/data /Users/david/Desktop/Meteohubdata
rsync: getaddrinfo: meteohub 873: nodename nor servname provided, or not known
rsync error: error in socket IO (code 10) at clientserver.c(128) [Receiver=3.1.1]

Thanks in advance for any advice.


Edit: Got it working -

1. I started the daemon on meteohub via ssh

Rsync --daemon

2.

My error:

I needed to specify the IP address of "meteohub"

./rsync -uav --info=progress2 rsync://root@192.168.x.x/data /Users/david/Desktop/Meteohubdata

David
Last edited by gm4jjj on Sat Jul 26, 2014 5:23 pm, edited 1 time in total.
gm4jjj
Expert Boarder
Expert Boarder
Posts: 108
Joined: Mon Jan 18, 2010 3:53 pm
Location: Dunfermline, Fife UK

Re: rsync - daemon not running (Solution)

Post by gm4jjj »

In order to get the rsync daemon to start at bootup I had to edit /etc/default/rsync and change the line
RSYNC_ENABLE=false

to

RSYNC_ENABLE=true
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: rsync - daemon not running (Solution)

Post by admin »

thanks, will change that with next update.
Flens63
Junior Boarder
Junior Boarder
Posts: 30
Joined: Fri Aug 15, 2014 7:47 am

Re: rsync - daemon not running (Solution)

Post by Flens63 »

the setting still gets up false
Post Reply