Rsync help needed...

Gian G. Spicuzza gianspi at gsent.org
Wed Feb 22 14:21:01 GMT 2006


Hi Isk,

     Please see embedded.

Gian

lsk wrote:

>Hello,
> 
>I was reading your posts about RSYNC. We have a massive Oracle schema lots
>of datafiles about 750 GB size. We do rsync datafiles from source to target
>server but everytime we cleanup the datafiles on the target server and do
>rsync every 2 weeks.
>
What do you mean by "cleanup the datafiles on the target server"?  Are 
you editing files on the target server? 

> On the target side mostly the datafiles will be same
>but on source we might have added few datafiles or made some changes in data
>and as such the size of schema will increase every time since we add new
>datafiles. 
> 
>If we leave the old datafiles at the target end and rsync will it be faster
>? 
>
If the target is not 100% different from the source, yes, keep it!  
Rsync will upload the differences of the two.  If 99% of the file is the 
same, you just saved 99% of your transfer time. :)

See timestamps and checksum in the manual to see what option you need to 
use in your schema.  Checksum may take some time with 3/4 TB of data :-/

>What rysnc command we need to use without cleaning the old files so in the
>old files only the changes will be copied and new files also needs to be
>rsynced. 
>  
>
So you want to update files and transfer new files?  How about:

rsync -e ssh -avz /source/data/files isk at target:/data/files

This command works over ssh (for encryption), uses an archive mode (see 
manual for details), spits out information verbosely, and compresses 
files during transfer to speed it up.  If you would like to watch it 
happen, add --progress for cool status view.

>What is the rsync command to be used ?
> 
>Thanks,
>lsk.
>--
>View this message in context: http://www.nabble.com/Rsync-help-needed...-t1170765.html#a3075671
>Sent from the Samba - rsync forum at Nabble.com.
>
>  
>
Is this what you were looking for?

Gian


More information about the rsync mailing list