Is there an advantage to running rsyncd vs. using ssh?
Hi, all
Just like the subject says. From what I've been able to tell by searching the forums, there's some (slight?) overhead when using ssh instead of running rsyncd? I'm looking to copy a few gigs worth a night (over gigabit ethernet), that's why I'm concerned enough to ask. Thanks! |
From what I've noticed there is no difference. Not noticeable at least. Probably it differs when dealing with file differences and overwrites.
May be you could copy a smaller data-set and time it using: Code:
time rsync ... |
rsync's can copy differential files. If you have some have files that are replicated on two machines, then using rsync has advantages. Of course, if all the files exist only on the source machine, then rsync loses its advantage.
Check out the rsync tips and tricks http://sial.org/howto/rsync/ Cheers |
Quote:
|
The big advantage of running as a daemon comes when you want to constantly maintain a sync between two machines. The caching system of rsync is enabled while running as a daemon. For this reason, busy sites is recommended to run rsync as a daemon. Also, the daemon mode makes it easy to limit the number of concurrent connections.
|
Ah, I see. In this case, it's backups being copied once a night.
If you use the daemon will the connection be encrypted, or is it sent on the clear? |
You can setup public keys to share between servers for encryption. The tips and tricks link in my previous posts gives you examples of how to do that.
|
Great, thanks!
|
All times are GMT -5. The time now is 06:52 AM. |