Can rsync update files in place?

Martin Pool mbp at samba.org
Tue Apr 16 05:17:02 EST 2002


On 16 Apr 2002, Paul Slootman <paul+rsync at wurtel.net> wrote:

> Is there a way to get rsync to not create a new file while transferring
> and then rename it, but to instead update the existing file in place,
> i.e. simply write those blocks that have been updated and leave the rest
> alone?

That would be pretty hard, though not impossible.

I suspect it would be roughly as hard to put it into rsync as to 
write a new program from scratch, depending on what features you need.

NetApp machines are kind of a special case because you can't (?)
run an rsync program directly on the server.  So every block 
is going across the network in at least one direction.

Perhaps Oracle's native replication features would be better?

Happy hacking,
-- 
Martin




More information about the rsync mailing list