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

Re: W: best way to clone server data using rsync



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-

-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


Reply to: