svn export . $(tmp)
rsync -rav $(tmp) 10.210.99.1:backuppc-svn/
rm -Rf $(tmp)
+
+profile:
+ test -e tmon.out || touch tmon.out
+ sudo chown backuppc tmon.out
+ sudo -u backuppc perl -d:DProf /data/backuppc/bin/BackupPC_updatedb -v 2
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 "## found_in_db ",( $rows ? '+' : '-' ), join(" ",@param), "\n" if ($debug >= 3);
return $rows;
}
{ # scope
my @stack;
+ print STDERR "# dirAttrib($backupNum, $share, $dir)\n" if ($debug >= 2);
my $filesInBackup = $files->dirAttrib($backupNum, $share, $dir);
# first, add all the entries in current directory