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 workload of network, see below statements? Is that > right? > > > > > > > > > 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 > dropping > > > the > > > "bhost:" from those commands, as Wayne mentioned. He included it > just > > > 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 > sequence > 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? -- Daniel Li -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html