Transferring files to our NAS over fiber. Nothing unusual...
From: Kevin Korb [k...@sanitarium.net]
Sent: Friday, April 07, 2017 3:08 PM
To: McDowell, Blake; rsync@lists.samba.org
Subject: Re: modification times questions
I have never seen rsync do that. W
I have never seen rsync do that. What exactly are you doing?
On 04/07/2017 03:07 PM, McDowell, Blake wrote:
> Thank you!
>
> I run --times when I use rsync (I actually use the -a flag) but the times do
> not transfer over and if I run rsync dryrun with -i I can see that it wants
> to transfer
Thank you!
I run --times when I use rsync (I actually use the -a flag) but the times do
not transfer over and if I run rsync dryrun with -i I can see that it wants to
transfer the files because of times. When I run rsync a second time with your
suggestion the times do transfer over. I don't kno
I guess I should also mention that if both trees are local you can use:
find . -print -exec touch "/path/to/wrong/times/{}" --reference "{}" \;
On 04/07/2017 02:58 PM, Kevin Korb via rsync wrote:
> If you are sure the content is correct you can run rsync with both
> --times and --size-only.
>
>
If you are sure the content is correct you can run rsync with both
--times and --size-only.
This will cause rsync to "fix" the timestamps on files that are the same
size on both ends.
On 04/07/2017 02:53 PM, McDowell, Blake via rsync wrote:
> How do I transfer just the modification times with rsy
How do I transfer just the modification times with rsync? I now the file
content is the same but the modification times are different. Is there a way to
do this? Every way that I have tried causes the whole file to transfer as well.
Thanks
--
Please use reply-all for most replies to avoid omitt
>
> Also, sounds like what you really want is --files-from
>
files-from is part of the command.
--
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/~
Exit code 2 is "Protocol incompatibility".
Also, sounds like what you really want is --files-from
On 04/07/2017 10:01 AM, Axel Kittenberger via rsync wrote:
> With this two options on a very live system you may need to take into
> account this bug as well I reported a while ago:
>
> https://bugz
With this two options on a very live system you may need to take into
account this bug as well I reported a while ago:
https://bugzilla.samba.org/show_bug.cgi?id=12569
Due to this I'm currently not using --ignore-missing-args /
--delete-missing but rather -exclude=* -include=- and a autocreated
Those options are for handling files/dirs that are specified on the
actual command line they have nothing to do with files vanishing while
rsync is running. The correct solution is to simply ignore exit code 24.
BTW, this is what filesystem snapshots are for.
On 04/07/2017 08:58 AM, Georgy Fedor
Dear All,
We sometimes have to replicate large "live" filesystems with many (
sometimes millions, up to few hundred millions ) files on them. (
Copying actively used files is of course a bad idea, but it really helps
to keep the delta small, so one final transfer can later save the day. )
Th
11 matches
Mail list logo