Re: rsync question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 07/31/2012 07:05 AM, Smithies, Russell wrote:
> Is it possible to do something simple like scp the whole dir in one go so they're duplicates in the first instance, then get rsync to just keep them in sync without an initial transfer?
>
> Or is there a better way?

I use tar and ttcp for an initial transfer:

On the receiving end:

ttcp -l5120 -r | tar xf -

On the transmitter:

tar cf - . | ttcp -l5120 -t name-of-receiver

Note: The files are transmitted without encryption.

I easily get 110 Mbytes/sec. on a gigabit connection.

If you need encryption, and your transfer is CPU limited, you should 
investigate which cipher to use. In my case arcfour128 is the fastest,
so I use:

rsync --rsh='/usr/bin/ssh -c arcfour128' ...

after the initial transfer with ttcp.

Mogens

-- 
Mogens Kjaer, mk@xxxxxxx
http://www.lemo.dk
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux