Rsync 4TB datafiles...?

lsk ellsatish at gmail.com
Tue Mar 21 17:11:19 GMT 2006


I need to rsync 4 TB datafiles to remote server and clone to a new oracle
database..I have about 40 drives that contains this 4 TB data. I would like
to do rsync from a directory level by using --files-from=FILE option. But
the problem is what will happen if the network connection fails the whole
rsync will fail right.

rsync -a srchost:/ / --files-from=dbf-list 

and dbf-list would contain this: 

p02/oradata/OSID/redo01.log 
p03/oradata/OSID/redo02.log 
p04/oradata/OSID/redo03.log 
p01/oradata/OSID/system01.dbf 
p04/oradata/OSID/undotbs01.dbf 
p03/oradata/OSID/sysaux01.dbf 
p03/oradata/OSID/users01.dbf 
p03/oradata/OSID/example01.dbf 
p03/oradata/OSID/data01.dbf 
p02/oradata/OSID/index01.dbf 
p01/oradata/OSID/control01.ctl 
p02/oradata/OSID/control02.ctl 
p03/oradata/OSID/control03.ctl 
s01/oracle/product/10.2.0/dbs/initOSID.ora 


One advantage that I have if do rsync file by file is if the network
connection fails for a quite sometime and comes back alive the rsync will
continue from the next file in the list while it will fail on the other
files when connection is lost.

rsync -vz /p02/oradata/OSID/redo01.log                 
destser:/d02/oradata/OSID/redo01.log                        
rsync -vz /p03/oradata/OSID/redo02.log                 
destser:/d03/oradata/OSID/redo02.log               
rsync -vz /p04/oradata/OSID/redo03.log                 
destser:/d04/oradata/OSID/redo03.log               
rsync -vz /p01/oradata/OSID/system01.dbf               
destser:/d01/oradata/OSID/system01.dbf             
rsync -vz /p04/oradata/OSID/undotbs01.dbf              
destser:/d04/oradata/OSID/undotbs01.dbf            
rsync -vz /p03/oradata/OSID/sysaux01.dbf               
destser:/d03/oradata/OSID/sysaux01.dbf             
rsync -vz /p03/oradata/OSID/users01.dbf                
destser:/d03/oradata/OSID/users01.dbf              
rsync -vz /p03/oradata/OSID/example01.dbf              
destser:/d03/oradata/OSID/example01.dbf            
rsync -vz /p03/oradata/OSID/data01.dbf                 
destser:/d03/oradata/OSID/data01.dbf               
rsync -vz /p02/oradata/OSID/index01.dbf                
destser:/d02/oradata/OSID/index01.dbf              
rsync -vz /p01/oradata/OSID/control01.ctl              
destser:/d01/oradata/OSID/control01.ctl            
rsync -vz /p02/oradata/OSID/control02.ctl              
destser:/d02/oradata/OSID/control02.ctl            
rsync -vz /p03/oradata/OSID/control03.ctl              
destser:/d03/oradata/OSID/control03.ctl            
rsync -vz /s01/oracle/product/10.2.0/dbs/initOSID.ora  
destser:/d01/oracle/droduct/10.2.0/dbs/initOSID.ora

I don't know how it would work if we do rsync with the files--from option ?
Also rsync gurus would you suggest which is the fastest way to trasfer this
4 TB data ? Any suggestions...would be of great help.

Thanks,
lsk.
--
View this message in context: http://www.nabble.com/Rsync-4TB-datafiles...--t1318624.html#a3516542
Sent from the Samba - rsync forum at Nabble.com.



More information about the rsync mailing list