You are not logged in.

#1 2010-03-17 19:14:29

timm
Member
From: Wisconsin
Registered: 2004-02-25
Posts: 417

Why run rsync as daemon? [solved]

I'm working on learning rsync, and I've run across lots of pages that tell you that the first thing you need to do is set it up to run as a daemon, while others just run it.  I've moved a few things around from the command line without using the daemon, but now I'm wondering, why would you do it with the daemon?

If I understand what I've read, it allows you to connect directly without involving ssh, but why would you want to do that?

Thanks for any info.

Last edited by timm (2010-04-01 21:20:29)

Offline

#2 2010-03-17 19:26:42

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 283
Website

Re: Why run rsync as daemon? [solved]

timm wrote:

If I understand what I've read, it allows you to connect directly without involving ssh, but why would you want to do that?

It is exactly this.  You might want to do this if you wanted to have your rsync data publicly available (like with abs).  ABS uses "rsync.archlinux.org" for you to pull PKGBUILDs from.  You wouldn't want to give every single user an account on your local machine, would you?

Offline

#3 2010-03-17 19:34:15

crankyadmin
Member
Registered: 2009-09-27
Posts: 117
Website

Re: Why run rsync as daemon? [solved]

Also you can tell the rsync daemon to go and fetch data from other non-local machines. It uses ssh for the purpose (or at least auth) i believe.


:: Github :: My AUR :: Coreboot ::

Offline

#4 2010-03-17 21:18:28

colyte
Member
Registered: 2009-05-16
Posts: 8

Re: Why run rsync as daemon? [solved]

There's one very good reason, speed.
Try it, you'll be surprised.

Offline

#5 2010-03-20 20:12:24

timm
Member
From: Wisconsin
Registered: 2004-02-25
Posts: 417

Re: Why run rsync as daemon? [solved]

Thanks for the clarifications thus far.  I do still need some more sad

crankyadmin wrote:

Also you can tell the rsync daemon to go and fetch data from other non-local machines. It uses ssh for the purpose (or at least auth) i believe.

But how is this different than using it without the daemon mode?  I thought I had understood that I can pull from across the net just using the command line (but I haven't got it all figured out yet)

And colyte wrote:

There's one very good reason, speed.
Try it, you'll be surprised.

And am I giving up any security in exchange for the speed?  ( I haven't done any research on this one, so if this is a rtfm let me know )

[edit]

I found some information on the ubuntu site that indicates that using the daemon also allows you to handle files that would require a root login through ssh, which may be disabled for security.

Last edited by timm (2010-04-01 21:20:13)

Offline

Board footer

Powered by FluxBB