Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a question about rsync. Perhaps i just want too much speed wise, however it seems I am getting really poor performance.
I have a redundant server that runs a series of rsync's daily in serial (one after the other, not at the same time) to mirror the primary server.
What I have noticed is that it seems to be really slow. It takes close to 15 min to get the file list alone before the sync (this i can understand as to the depth of the file system it is mirroring) however I watched and timed the transfer of a DVD iso image of 4.7GB this took over an hour.
The two systems are on the same rack on the same switch, and there is little network traffic. I am using Ssh set with trusted keys so as to not have to enter a password. Here is the rsync call from one of the scripts. They are all the same excepting the IP's and paths.
Try using "rsync -avz --delete -e ssh"
The z options tells the machine to use compression when transferring the file. I just backed up my server here in prep for a change the new hardware and transferred 400G in about 18 hours (100M network, same switch, same LAN). Otherwise it's sending it encrypted (-e ssh) but not compressed. Little more load on the CPU, but I don't think it will hinder anything.