From 32c7f91a1460be4132fc5e7ef5b6880118b5c1b4 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 12 Apr 2005 03:55:56 +0000 Subject: [PATCH] A couple improvements for the --only-write-batch section. --- rsync.yo | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/rsync.yo b/rsync.yo index 176fd235..486ffae3 100644 --- a/rsync.yo +++ b/rsync.yo @@ -1276,17 +1276,24 @@ of zero specifies no limit. dit(bf(--write-batch=FILE)) Record a file that can later be applied to another identical destination with bf(--read-batch). See the "BATCH MODE" -section for details. +section for details, and also the bf(--only-write-batch) option. dit(bf(--only-write-batch=FILE)) Works like bf(--write-batch), except that no updates are made on the destination system when creating the batch. This lets you transport the changes to the destination system via some -other means and then apply the changes via bf(--read-batch). Note that -you can feel free to write the batch directly to some portable media: if -this media fills to capacity before the end of the transfer, you can just -apply that partial transfer to the destination and repeat the whole process -to get the rest of the changes (as long as you don't mind a partially -updated destination system while the multi-update cycle is happening). +other means and then apply the changes via bf(--read-batch). + +Note that you can feel free to write the batch directly to some portable +media: if this media fills to capacity before the end of the transfer, you +can just apply that partial transfer to the destination and repeat the +whole process to get the rest of the changes (as long as you don't mind a +partially updated destination system while the multi-update cycle is +happening). + +Also note that you only save bandwidth when pushing changes to a remote +system because this allows the batched data to be diverted from the sender +into the batch file without having to flow over the wire to the receiver +(when pulling, the sender is remote, and thus can't write the batch). dit(bf(--read-batch=FILE)) Apply all of the changes stored in FILE, a file previously generated by bf(--write-batch). -- 2.34.1