You are not logged in.
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
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
There's one very good reason, speed.
Try it, you'll be surprised.
Offline
Thanks for the clarifications thus far. I do still need some more ![]()
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