Re: How to emulate rdiff behaviour

2009-06-01 Thread Wayne Davison
On Mon, Jun 01, 2009 at 10:15:27AM -0300, Carlos Carvalho wrote: > In this case rsync automatically uses --whole-file. Will it do the > same in the case of --only-write-batch? The default is always --no-whole-file when writing a batch. ..wayne.. -- Please use reply-all for most replies to avoid

Re: How to emulate rdiff behaviour

2009-06-01 Thread Carlos Carvalho
Matt McCutchen (m...@mattmccutchen.net) wrote on 31 May 2009 23:11: >On Mon, 2009-06-01 at 07:10 +0800, Daniel.Li wrote: >> On Sun, 2009-05-31 at 14:34 -0400, Matt McCutchen wrote: >> > > And one more thing here: >> > > If you are going to prepare this batch file, it seems there will be >> > d

Re: How to emulate rdiff behaviour

2009-05-31 Thread Daniel.Li
On Sun, 2009-05-31 at 23:11 -0400, Matt McCutchen wrote: > On Mon, 2009-06-01 at 07:10 +0800, Daniel.Li wrote: > > On Sun, 2009-05-31 at 14:34 -0400, Matt McCutchen wrote: > > > > And one more thing here: > > > > If you are going to prepare this batch file, it seems there will > be > > > double the

Re: How to emulate rdiff behaviour

2009-05-31 Thread Matt McCutchen
On Mon, 2009-06-01 at 07:10 +0800, Daniel.Li wrote: > On Sun, 2009-05-31 at 14:34 -0400, Matt McCutchen wrote: > > > And one more thing here: > > > If you are going to prepare this batch file, it seems there will be > > double the workload of network, see below statements? Is that right? > > > > >

Re: How to emulate rdiff behaviour

2009-05-31 Thread Daniel.Li
On Sun, 2009-05-31 at 14:34 -0400, Matt McCutchen wrote: > > And one more thing here: > > If you are going to prepare this batch file, it seems there will be > double the workload of network, see below statements? Is that right? > > > > > rsync -av --only-write-batch=/batches/$DATE > bhost:/backup

Re: How to emulate rdiff behaviour

2009-05-31 Thread Matt McCutchen
On Sun, 2009-05-31 at 17:08 +0800, Daniel.Li wrote: > Dear Wayne, > Excellent, that's really what I have expected! > > Is it stable now? Cause I have found that this feature seems to be > unstable before ver 3.0.6. > > - Fixed a --read-batch hang when rsync is reading a batch file that was >

Re: How to emulate rdiff behaviour

2009-05-31 Thread Daniel.Li
Dear Wayne, Excellent, that's really what I have expected! Is it stable now? Cause I have found that this feature seems to be unstable before ver 3.0.6. - Fixed a --read-batch hang when rsync is reading a batch file that was created from an incremental-recursion transfer. http://samba.anu

Re: How to emulate rdiff behaviour

2009-05-29 Thread Wayne Davison
On Thu, May 28, 2009 at 11:32:16AM -0400, Matt McCutchen wrote: > - Each day, generate a reverse batch (by running rsync in the reverse > direction with --only-write-batch) and then update the destination file. In order to avoid any inconsistency between the files when the reverse run is done and

Re: How to emulate rdiff behaviour

2009-05-28 Thread Matt McCutchen
On Wed, 2009-05-27 at 21:58 +, Frank Harmann wrote: > i am new to rsync and i want to use rsync to emulate rdiff behaviour > (because i can't install rdiff on the system). > What i would like rsync to do is to generate a diff file (like with > rsync --write-batch) but WITHOUT changing the dest

How to emulate rdiff behaviour

2009-05-27 Thread Frank Harmann
Hi, i am new to rsync and i want to use rsync to emulate rdiff behaviour (because i can't install rdiff on the system). What i would like rsync to do is to generate a diff file (like with rsync --write-batch) but WITHOUT changing the destination file. This would allow me to store daily different