--- trunk/Makefile 2005/09/11 12:39:05 115 +++ trunk/Makefile 2005/09/14 13:20:03 119 @@ -53,8 +53,13 @@ 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)