I noticed rsh is not installed, it's linked to /etc/alternatives/rsh,
which is linked to /usr/bin/ssh.
Calling rsh instead of ssh should avoid file encryption during transfer,
at least that was the intention.
The socket options boost transfer speed quite a lot, I usually have
65355 buffers on my samba server, using rsync directly I can increase it
some more.
partial-dir does not work along with append, so I got rid of it.
I'll leave the rest as is minus the recursive option
Thanks for the inputs!
On 01.05.2012 18:43, Dan Ritter wrote:
On Tue, May 01, 2012 at 01:08:14PM +0200, Tuxoholic wrote:
Here's what I got so far from google research:
rsync --sockopts=SO_SNDBUF=128000,SO_RCVBUF=128000 -e rsh --archive \
--recursive --partial --partial-dir=rsync-part --progress --append \
--files-from=/root/LISTOFFILES.txt --log-file=/root/rsync.log \
root@myserver:/PATH2myOLDServerPool/* /mnt/Mount2myNewServerPool
You don't need the sockopts. -a includes recursive. You probably
don't want partial or partial-dir. You probably don't want
append.
Having rsh installed is a bad security risk. Install ssh, make
sure you can ssh from this box to myserver as root. Change
-e rsh to -e ssh.
-dsr-
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/blu0-smtp363466e7fa2c0053691fdd4d8...@phx.gbl