--- trunk/bin/BackupPC_updatedb 2006/01/29 14:54:17 311 +++ trunk/bin/BackupPC_updatedb 2006/01/29 17:29:13 313 @@ -15,7 +15,7 @@ use Cwd qw/abs_path/; use constant BPC_FTYPE_DIR => 5; -use constant EST_CHUNK => 100000; +use constant EST_CHUNK => 4096; # daylight saving time change offset for 1h my $dst_offset = 60 * 60; @@ -198,9 +198,7 @@ while (my $row = $sth->fetchrow_hashref()) { - my $fid = $row->{'fid'} || die "no fid?"; - my $uri = 'file:///' . $fid; - + my $uri = $row->{hname} . ':' . $row->{sname} . '#' . $row->{backupnum} . ' ' . $row->{filepath}; unless ($skip_check) { my $id = $hest_node->uri_to_id($uri); next if ($id && $id == -1);