[ale] rsync issues

Robert Coggins ale at cogginsnet.com
Sat Dec 5 11:26:04 EST 2009


For the most part I am only concerned about the data in the files.  I am
only doing this for backup purposes and if something happens where the
privs or ownerships or anything else extended I can fix those if I ever
need to restore.  But...  I say that now...  well, see.  I am just
getting started on this little project and I have all kinds of ideas.

Thanks for all the help!

Robert

Michael H. Warfield wrote:
> On Sat, 2009-12-05 at 00:31 -0500, Robert Coggins wrote: 
>> I was trying the -av at first but I decided I would forego the -go part
>> of -a due to the destination being a cifs share.  (sorry I didn't
>> mention that at first)
> 
> That's an important little detail there.  At one time we did have a
> problem in Samba that manifested itself as rsync recopying data.  Had
> something to do with the time stamps and has since (I believe) been
> fixed.
> 
> Wrt, the suggestions to use -av...  This probably doesn't apply to a
> cifs share, IAC, but...  For those of you using rsync on *NIX to *NIX,
> be aware at -av might not do everything you would like.  For one thing,
> it does NOT preserve hard links and will result in two (or more) files
> on the target instead of one hard-linked file.  It also does not
> preserve extended attributes (which DEFINITELY does NOT apply to a CIFS
> share).  Depending on what you are doing, you may want to a -H to
> preserve hard links, and -A (and maybe also -X) for extended attributes.
> When I'm going ext3 to ext3, I'm always using -avAHX.
> 
>> Rob
> 
> Mike
> 
>> Jim Popovitch wrote:
>>> On Sat, Dec 5, 2009 at 00:06, Robert Coggins <ale at cogginsnet.com> wrote:
>>>> good evening all,
>>>>
>>>> If I run the following command 2 times in a row I should have data
>>>> transferred only the first time right?
>>>>
>>>> rsync -rlptDv /mnt/dir1 /mnt/dir2
>>> Try:  rsync -av /mnt/dir1 /mnt/dir2
>>>
>>> hth,
>>>
>>> -Jim P
>>> _______________________________________________
>>> Ale mailing list
>>> Ale at ale.org
>>> http://mail.ale.org/mailman/listinfo/ale
>>> See JOBS, ANNOUNCE and SCHOOLS lists at
>>> http://mail.ale.org/mailman/listinfo
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo


More information about the Ale mailing list