createdb $(db)
date > $(profile_file)
echo "## NORMAL RUN" >> $(profile_file)
+ sudo rm -Rf /data/backuppc/data/casket || true
+ estcall raw -auth admin admin 'http://localhost:1978/master?action=nodedel&name=backuppc' || true
+ estcall raw -auth admin admin 'http://localhost:1978/master?action=nodeadd&name=backuppc&label=BackupPC%20search%20index'
sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -c $(profile_opt) | tee -a $(profile_file)
echo "## DProf RUN" >> $(profile_file)
+ sudo rm -Rf /data/backuppc/data/casket || true
+ estcall raw -auth admin admin 'http://localhost:1978/master?action=nodeadd&name=backuppc&label=BackupPC%20search%20index'
sudo -u backuppc perl -d:DProf /data/backuppc/bin/BackupPC_updatedb -d $(profile_opt)
dprofpp 2>&1 | tee -a $(profile_file)
echo "## DBI_PROFILE RUN" >> $(profile_file)
my $offset = 0;
my $added = 0;
- print " opening index $use_hest";
+ print " opening index";
if ($index_path) {
$hest_db = HyperEstraier::Database->new();
$hest_db->open($TopDir . $index_path, $HyperEstraier::Database::DBWRITER | $HyperEstraier::Database::DBCREAT);
- print " directly";
+ print "$index_path directly";
} elsif ($index_node_url) {
$hest_node ||= HyperEstraier::Node->new($index_node_url);
$hest_node->set_auth('admin', 'admin');
- print " via node URL";
+ print "$index_node_url via node URL";
} else {
die "don't know how to use HyperEstraier Index $use_hest";
}