Incremental recursion not working

Gerald Holl gerald at holl.co.at
Fri Mar 26 01:33:50 MDT 2010


Paul Slootman wrote:
> On Wed 24 Mar 2010, Gerald Holl wrote:
> 
>> Maybe it's because of too many files? The file list consists of
>> approx. 450.000 items.
> 
> Incremental recursion works per directory.
> If all those 450.000 files are in one directory, then incremental
> recursion won't help.

The files are in different directories.

> The number of items isn't the problem because rsync would first have to
> find all the files before deciding to use incrmental or not by your
> reasoning, which would sort of contradict the purpose of incremental
> recursion :-)

Ok, I see.
Well, if the number of items isn't the problem, then, why is it not working?

I tried to debug by using the verbose flag:
[client] add_rule(- backup-scripts)
FILE_STRUCT_LEN=16, EXTRA_LEN=4
cmd=ssh -p 1234 machine=myhost user=test path=/source/
cmd[0]=ssh cmd[1]=-p cmd[2]=1234 cmd[3]=-l cmd[4]=test cmd[5]=myhost
cmd[6]=rsync cmd[7]=--server cmd[8]=--sender cmd[9]=-vvvvvvvLogtprze.iL
cmd[10]=--numeric-ids cmd[11]=. cmd[12]=/source/
opening connection using: ssh -p 1234 -l test myhost rsync --server
--sender -vvvvvvvLogtprze.iL --numeric-ids . /source/
note: iconv_open("UTF-8", "UTF-8") succeeded.
(Client) Protocol versions: remote=30, negotiated=30
receiving file list ...
recv_file_name(source)
recv_file_name ....


cheers,
Gerald
-- 
http://holl.co.at


More information about the rsync mailing list