I also used the no-whole option; rsync --progress --stats --compress --recursive --rsh=ssh \ --partial --no-whole-file \ [EMAIL PROTECTED]:~mpower/content/cdr ~mpower/content/cdr
but it still copy everything. -----Original Message----- From: Biran, Yahav (Yahav) [mailto:[EMAIL PROTECTED] Sent: Monday, May 12, 2008 11:14 PM To: '[email protected]' Subject: content directory mirroring I'm implementing a geo- redundancy solution for a web application. The main task is to synchronize the content directory from the active site to the stand-by site. I tried to do it with rsync utility by setting rsync server that initiate an rsync transfer. My problem is that it keeps copy all the directories and sub directories from scratch. I wish to copy only the delta from last execution. Im executing the following: rsync --progress --stats --compress --recursive --rsh=ssh --partial \ dest_path [EMAIL PROTECTED]:src_path I was trying to calculate the delta files by executing in the source host: rsync -avR [EMAIL PROTECTED]:'`find src_path -atime -${T2-T1}`' where T2 and T1 are the delta time duration. But its not seem to be the right way. Is anybody knows more elegant way to mirror two sites by transferring only delta information? Yahav Biran Alcatel-Lucent Multimedia Content Platforms 5 Nahum Het Street, 3rd floor Topaz Building, Shaar Hacarmel POB 15049 Haifa 31905, Israel Email: [EMAIL PROTECTED] Cell: +972 54 6616208 Phone: +972 4 8138020 Fax: +972 4 8138022 _______________________________________________ Haifux mailing list [email protected] http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
