Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to send huge (huge as in approx 5 gb) files between servers .. Which is better, sftp or rsync ?

Could someone point me to a comparison of sftp vs rsync if any available?

Is one better than the other? Why?

share|improve this question

migrated from stackoverflow.com Dec 16 '10 at 20:53

This question came from our site for professional and enthusiast programmers.

    
serverfault (serverfault.com) might be a more appropriate forum for your question – Rune Dec 16 '10 at 12:56

I would say use sftp cause rsyncs current hashing algorithm that the sender uses to find matches for moved data might cause problems with very large files. The current hash table has a fixed size of 65536 slots, and can get overloaded for really large files. See a discussion thread here.

share|improve this answer
1  
that was good info :) – Shrinath Dec 16 '10 at 14:15

If the files are text, rsync. While @Thariama's point is valid, if they are similar you will get some bandwidth savings. Just be careful with the switches the discussion mentions.

If the files are binary but have only segments changed, rsync. I use this for VM images.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .