Re: Speed improvement in ftpsync using --delete-delay
On 11730 March 1977, jjuvan@grn.cat wrote:
> Since rsync 3.0 there's a new method to do the --delete, it's called
> --delete-delay. The working effect is the same as with the
> --delete-after, with the difference that the files to delete are indexed
> on the fly.
> It GREATLY improves performance, specially in vast amount of files.
>>From lenny rsync 3.0 is the default version, and in either case I've
> been able to compile from the .tgz without problems in distros from 5 years.
Sounds good. I will add something to the comments around that variable
and to README. Will sure take some time before I switch the default. :)
> Changing in ftpsync:
> RSYNC_OPTIONS2=${RSYNC_OPTIONS2:-"--max-delete=40000 --delay-updates
> --delete --delete-after --delete-excluded"}
> Into:
> RSYNC_OPTIONS2=${RSYNC_OPTIONS2:-"--max-delete=40000 --delay-updates
> --delete --delete-delay --delete-excluded"}
Just to be safe, do *not* edit ftpsync. Edit the configfile and
overwrite the value of that variable in there. Otherwise you have to
always merge your changes with future code updates.
--
bye, Joerg
<HE> Joerg knuddeln ist wie mit Skorpionen schlafen.
Reply to: