How to emulate rdiff behaviour
daniel_li at usish.com
Mon Jun 1 05:42:42 GMT 2009
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
> > > double the workload of network, see below statements? Is that
> > > >
> > > > > rsync -av --only-write-batch=/batches/$DATE
> > > bhost:/backup2/ /backup/
> > > > > rsync -av /backup/ bhost:/backup2/
> > >
> > > Not if you put /backup and /backup2 on the same machine by
> > > the
> > > "bhost:" from those commands, as Wayne mentioned. He included it
> > > to point out the possibility of having those dirs on different
> > > machines.
> > >
> > Humm... I have a NAS storage device, which is bhost,
> Does it have to be that way? If you run Wayne's entire command
> on the NAS, you won't have a "bhost" and you'll avoid doubling the
> network usage.
But the source folder is on my laptop, about 30GB size, and I need
backup to NAS.
So if do this batch file on NAS without network usage, we have to copy a
previous backup internally on NAS. I have to say 30GB internal copy
really takes a lot of time.
What do u think?
More information about the rsync