retransfer fail of large files with inplace and broken pipe
raschel at edvantice.de
Tue Dec 15 10:25:40 MST 2009
have tried now --inplace with --backup option but syncing the files does
consume much more time than a normal rsync process,
so this is not a reliable solution.
"Tom" <raschel at edvantice.de> schrieb im Newsbeitrag
news:hg7dg6$emj$1 at ger.gmane.org...
> retransfer of large fail with inplace after a broken pipe is working now.
> (thx again to wayne)
> but it is much more slow as if a "normal" rsync job.
> I have read that setting the --backup option could help. (have not tried
> But --backup option would halve the space, which is not desirable.
> Is there a way to tell rsync to delete the --backup file after an
> "tom raschel" <raschel at edvantice.de> schrieb im Newsbeitrag
> news:loom.20091213T075221-530 at post.gmane.org...
>> i have to tranfer large files each 5-100 GB (mo-fri) over dsl line.
>> unfortunately dsl lines are often not very stable and i got a broken pipe
>> (dsl lines are getting a new ip if they are broken or at least after a
>> reconnect every 24 hours)
>> i had a script which detect the rsync error and restart the transmission.
>> this means that if a file has transfered e.g. 80 % i start again from
>> using partial and partial-dir was no solution to resync because rsync cut
>> original file (e.g. from 20 GB to 15 GB) which means that i have to
>> the whole rest of 5 GB.
>> so i had a look at --inplace which I thougt could do the trick, but
>> inplace is
>> updating the timestamp and if the script start a retransfer after a
>> broken pipe
>> it fails because the --inplace file is newer than the original file of
>> using ignore-times could be a solution but slow down the whole process to
>> is there a option to tell rsync not to change the time of a --inplace
>> transfered file, or maybe preserve the mtime and do a comparison of mtime
>> instead of ctime.
>> Please use reply-all for most replies to avoid omitting the mailing list.
>> To unsubscribe or change options:
>> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
More information about the rsync