Quick rsync question
Andy Green
andy at warmcat.com
Tue Feb 21 22:54:07 UTC 2006
James Pifer wrote:
> I just finished rsyncing a bunch of data to another drive. I'm doing
> this for backup purposes so I'll run it every night. After it finished I
> realized it went one directory level too deep. So I moved the data to
> the correct level and adjusted the rsync command. But now it want to
> recopy everything. Here's the rsync command I used:
> rsync -turv0 --progress --delete /media/160GBUSBDSK/data /mnt/USBbkup-
> storage
>
> What option should I use to get rsync to get it to update without
> wanting to re-copy everything? I'm looking at rsync --help, but not sure
AFAIK the only information that rsync uses to determine if a copy exists
is in the file that you have on the destination side, eg, timestamp, the
filename, etc. It's not like it has a separate database or something.
Have the timestamps changed, eg, the destination timestamps are the
times the copy was written? I usually use the switches avz.
-Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4492 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060221/4854be5a/attachment-0001.bin>
More information about the fedora-list
mailing list