Hi,<div><br></div><div>So in some ways, you would like to use rsync as a "diff/patch" tool. There are some similar questions out there (<a href="http://serverfault.com/questions/62364/get-rsync-to-generate-a-patch-file-instead-of-copying-across-files">here</a> or <a href="http://lists.samba.org/archive/rsync/2005-January/011439.html">there</a>), and the answers are quite similar too. Basically, two methods :</div>

<div>I. Bash scripting (1. Do a dry run and export the files list, 2. Get only these files on your USB, 3. Push the new/updated files on the original system)</div><div>II. Batch-mode (see <a href="http://www.linuxmantra.com/2011/02/rsync-in-batch-mode.html">this example</a>)</div>

<div><br></div><div>Hope that will help,</div><div>Greg</div><div><br><div class="gmail_quote">On Thu, Sep 27, 2012 at 9:33 AM, Benjamin Ward <span dir="ltr"><<a href="mailto:ben@forward.net.au" target="_blank">ben@forward.net.au</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>Hi everyone,</div><div><br></div><div>I'm trying to archive to a remote host but the size of the data to copy is prohibitively large to consider doing the sync over the wire (it's TBs of raw video), so i was wondering if it was possible to use a usb attached storage device as the transport medium.</div>

<div><br></div><div>Is it possible for rsync to compare the two systems (over the network) finding any newer or different files on the local system as compared to the remote archive (ignoring local deletes), then copy only those new/differences to a locally attached portable drive so that the portable drive can be physically taken across town to the other system, plugged in and then the new data be ingested so that a subsequent rsync between the the two systems would see those files as synchronised?</div>

<div><br></div><div>I thought the <span style="white-space:pre-wrap">--compare-dest option might be the way to go, as per this post:</span></div><div><br></div><div><a href="http://lists.samba.org/archive/rsync/2006-June/015827.html" target="_blank">http://lists.samba.org/archive/rsync/2006-June/015827.html</a></div>

<div><br></div><div>but it seems to not behave the way i thought it would.</div><div><br></div><div>Thanks in advance, and apologies if I'm asking a bleeding obvious question. :)</div><div><br></div><div>Kind regards,</div>

<div>Ben</div><div><br></div><div>  </div></div><br>--<br>
Please use reply-all for most replies to avoid omitting the mailing list.<br>
To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a><br>
Before posting, read: <a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><br></blockquote></div><br></div>