<P>
<BR>
Hi Jesse!!! Thanks for replying to my post! <BR>
<BR>
I agree that rsync doesn't have functionality that meet my requirements. I found --compare-dest option of rsync helpful for my prolem<BR>
<BR>
In a nutshell a shell script has to be developed that will do the following [more checks have to be included: like check free space etc]<BR>
<BR>
- if only dest1 is used just do simple rsync<BR>
- if dest2 is also used then do update existing files on dest1 + rsync new files to dest2 with the help of --compare-dest parameter.<BR>
<BR>
While(true)<BR>
if(!usedest2) <BR>
- rsync source dest1<BR>
- if command not successful<BR>
usedest2=true<BR>
end if<BR>
else<BR>
-rsync --update --existing source dest1 [Assumption.. dest1 has enough free space to update existing files.. find a way to reserve <BR>
some disk space]<BR>
rsync --compare-dest=full/path/dest1 source dest2<BR>
end if<BR>
end while;<BR>
<BR>
<BR>
I'm interested in hearing how others are solving similar problem and what others tools might help in my case!!!<BR>
<BR>
Thanks again!<BR>
Raj<BR>
<BR>
<BR>
<BR>
On Wed, 25 May 2005 Jesse Becker wrote :<BR>
>On Tue, May 24, 2005 at 09:08:28PM -0000, Raj Kumar wrote:<BR>
> > How do I synchronize source directory to multiple disks using rsync or similar tools?<BR>
><BR>
>You cannot do this with rsync.<BR>
><BR>
>--<BR>
>Jesse Becker<BR>
>GPG-fingerprint: BD00 7AA4 4483 AFCC 82D0 2720 0083 0931 9A2B 06A2<BR>
>_______________________________________________<BR>
>rhn-users mailing list<BR>
>rhn-users@redhat.com<BR>
>https://www.redhat.com/mailman/listinfo/rhn-users<BR>
</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>