31 |
|
|
32 |
index: test |
index: test |
33 |
sudo rm -Rf /data/backuppc/data/casket || true |
sudo rm -Rf /data/backuppc/data/casket || true |
34 |
sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -i |
sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -j |
35 |
|
|
36 |
xls: test |
xls: test |
37 |
sudo -u backuppc /data/backuppc/bin/BackupPC_xls_report |
sudo -u backuppc /data/backuppc/bin/BackupPC_xls_report |
53 |
createdb $(db) |
createdb $(db) |
54 |
date > $(profile_file) |
date > $(profile_file) |
55 |
echo "## NORMAL RUN" >> $(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' |
|
56 |
sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -c $(profile_opt) | tee -a $(profile_file) |
sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -c $(profile_opt) | tee -a $(profile_file) |
57 |
echo "## DProf RUN" >> $(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' |
|
58 |
sudo -u backuppc perl -d:DProf /data/backuppc/bin/BackupPC_updatedb -d $(profile_opt) |
sudo -u backuppc perl -d:DProf /data/backuppc/bin/BackupPC_updatedb -d $(profile_opt) |
59 |
dprofpp 2>&1 | tee -a $(profile_file) |
dprofpp 2>&1 | tee -a $(profile_file) |
60 |
echo "## DBI_PROFILE RUN" >> $(profile_file) |
echo "## DBI_PROFILE RUN" >> $(profile_file) |
61 |
DBI_PROFILE=2 sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -d $(profile_opt) 2>&1 | tee -a $(profile_file) |
DBI_PROFILE=2 sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -d $(profile_opt) 2>&1 | tee -a $(profile_file) |
62 |
mv $(profile_file) profile.`perl -e 'my @p = glob("profile.[0-9]*"); print scalar @p + 1'` |
mv $(profile_file) profile.`perl -e 'my @p = glob("profile.[0-9]*"); print scalar @p + 1'` |
63 |
|
|
64 |
|
inc: test |
65 |
|
sudo -u backuppc /data/backuppc/bin/BackupPC_incPartsUpdate |
66 |
|
|