--- trunk/Makefile 2005/09/14 13:20:03 119 +++ trunk/Makefile 2005/12/12 12:16:01 251 @@ -12,6 +12,18 @@ reinstall: sudo perl ./configure.pl --batch --config-path=$(target)/data/conf/config.pl +agi: + sudo /etc/init.d/backuppc-agi stop + sudo perl ./configure.pl --batch --config-path=/data/backuppc-agi/data/conf/config.pl + cd custom/ && find . -type f | grep -v '.svn' | sudo cpio -puV /data/backuppc-agi/ + sudo /etc/init.d/backuppc-agi start + +qc: + sudo /etc/init.d/backuppc-qc stop + sudo perl ./configure.pl --batch --config-path=/data/backuppc-qc/data/conf/config.pl + cd custom/ && find . -type f | grep -v '.svn' | sudo cpio -puV /data/backuppc-qc/ + sudo /etc/init.d/backuppc-qc start + install: sudo perl ./configure.pl @@ -31,7 +43,7 @@ index: test sudo rm -Rf /data/backuppc/data/casket || true - sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -i + sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -j xls: test sudo -u backuppc /data/backuppc/bin/BackupPC_xls_report @@ -53,16 +65,20 @@ 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) DBI_PROFILE=2 sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -d $(profile_opt) 2>&1 | tee -a $(profile_file) mv $(profile_file) profile.`perl -e 'my @p = glob("profile.[0-9]*"); print scalar @p + 1'` +tar: test + psql -c "delete from backup_parts" backuppc + sudo -u backuppc /data/backuppc/bin/BackupPC_tarIncCreate -h llin -s /etc -n 10 -v + +inc: test + sudo -u backuppc /data/backuppc/bin/BackupPC_incPartsUpdate -c -d + +burn: test + sudo /data/backuppc/bin/BackupPC_burnArchiveCLI