630 |
$filesInBackup->{$path_key}->{'size'} |
$filesInBackup->{$path_key}->{'size'} |
631 |
)); |
)); |
632 |
|
|
633 |
|
# daylight saving time change offset for 1h |
634 |
|
my $dst_offset = 60 * 60; |
635 |
|
|
636 |
|
my $key_dst1 = join(" ", ( |
637 |
|
$shareID, |
638 |
|
$dir, |
639 |
|
$path_key, |
640 |
|
$filesInBackup->{$path_key}->{'mtime'} - $dst_offset, |
641 |
|
$filesInBackup->{$path_key}->{'size'} |
642 |
|
)); |
643 |
|
|
644 |
|
my $key_dst2 = join(" ", ( |
645 |
|
$shareID, |
646 |
|
$dir, |
647 |
|
$path_key, |
648 |
|
$filesInBackup->{$path_key}->{'mtime'} + $dst_offset, |
649 |
|
$filesInBackup->{$path_key}->{'size'} |
650 |
|
)); |
651 |
|
|
652 |
my $found; |
my $found; |
653 |
if (! defined($beenThere->{$key}) && ! ($found = found_in_db($key, @data)) ) { |
if ( |
654 |
|
! defined($beenThere->{$key}) && |
655 |
|
! defined($beenThere->{$key_dst1}) && |
656 |
|
! defined($beenThere->{$key_dst2}) && |
657 |
|
! ($found = found_in_db($key, @data)) |
658 |
|
) { |
659 |
print STDERR "# key: $key [", $beenThere->{$key},"]" if ($debug >= 2); |
print STDERR "# key: $key [", $beenThere->{$key},"]" if ($debug >= 2); |
660 |
|
|
661 |
if ($filesInBackup->{$path_key}->{'type'} == BPC_FTYPE_DIR) { |
if ($filesInBackup->{$path_key}->{'type'} == BPC_FTYPE_DIR) { |