my $backupNum = $backup->{'num'};
my @backupShares = ();
- print $hosts->{$host_key}->{'host'},"\t$backupNum\n";
+ print $hosts->{$host_key}->{'host'},"\t#$backupNum\n";
$sth->{backups_broj}->execute($hostID, $backupNum);
my ($broj) = $sth->{backups_broj}->fetchrow_array();
my @param = ($shareID,$path,$name,$date,$size);
$sth->{file_in_db}->execute(@param);
my ($rows) = $sth->{file_in_db}->fetchrow_array();
- print STDERR ( $rows ? '+' : '-' ), join(" ",@param), "\n";
+# print STDERR ( $rows ? '+' : '-' ), join(" ",@param), "\n";
return $rows;
}
if (! $beenThere->{$key} && ! found_in_db(@data)) {
$sth->{'insert_files'}->execute(@data);
- print STDERR "$key\n";
+# print STDERR "$key\n";
if ($filesInBackup->{$path_key}->{'type'} == BPC_FTYPE_DIR) {
$new_dirs++;
} else {