SCIENTIFIC-LINUX-USERS Archives

July 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
ToddAndMargo <[log in to unmask]>
Reply To:
ToddAndMargo <[log in to unmask]>
Date:
Tue, 15 Jul 2014 12:39:20 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
On 07/11/2014 12:58 PM, ToddAndMargo wrote:
> Hi All,
>
> I have a bash script for synchronizing a flashing drive (target)
> with my hard drive (source) I take to customer sites (with a read
> only switch so I don't spread viruses).
>
> I currently "rsync" 11 different directories.  Each sync line
> looks like this:
>
> rsync -rv --delete $MyCDsSource/Linux $MyCDsTarget/.; sync; sync
>
> Problem: it is slow -- takes three hours.  To help the
> speed issue, I upgraded from USB 2 to USB 3.  Backup went
> from 3 hr-15 min to 3 hr-5 min.  It is almost faster
> to wipe the stick and rewrite it.
>
> Anyone  know of a way to speed up rsync?
>
> Many thanks,
> -T
>

Hi All,

I am so tickled with the way it is operating now
I am beside myself.  I sincerely appreciate everyone
who helped me fix this!   I stand on the shoulders of
giants.

-T

My final code:

Options="-rv --delete --modify-window=1 --times --inplace --copy-links "

rsync ${Options} $MyCDsSource/Linux $MyCDsTarget/.; sync; sync

ATOM RSS1 RSS2