collecting the differences between a local host and remote archive to third local location (a usb device)

Greg Deback (rsync) greg.deb+rsync at gmail.com
Thu Sep 27 03:03:52 MDT 2012


Hi,

So in some ways, you would like to use rsync as a "diff/patch" tool. There
are some similar questions out there
(here<http://serverfault.com/questions/62364/get-rsync-to-generate-a-patch-file-instead-of-copying-across-files>
 or there <http://lists.samba.org/archive/rsync/2005-January/011439.html>),
and the answers are quite similar too. Basically, two methods :
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)
II. Batch-mode (see this
example<http://www.linuxmantra.com/2011/02/rsync-in-batch-mode.html>
)

Hope that will help,
Greg

On Thu, Sep 27, 2012 at 9:33 AM, Benjamin Ward <ben at forward.net.au> wrote:

>
> Hi everyone,
>
> 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.
>
> 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?
>
> I thought the --compare-dest option might be the way to go, as per this
> post:
>
> http://lists.samba.org/archive/rsync/2006-June/015827.html
>
> but it seems to not behave the way i thought it would.
>
> Thanks in advance, and apologies if I'm asking a bleeding obvious
> question. :)
>
> Kind regards,
> Ben
>
>
>
> --
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20120927/7ac9959c/attachment.html>


More information about the rsync mailing list