/[BackupPC]/trunk/Makefile
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 119 by dpavlin, Wed Sep 14 13:20:03 2005 UTC revision 245 by dpavlin, Fri Dec 9 12:42:03 2005 UTC
# Line 12  test: stop reinstall start Line 12  test: stop reinstall start
12  reinstall:  reinstall:
13          sudo perl ./configure.pl --batch --config-path=$(target)/data/conf/config.pl          sudo perl ./configure.pl --batch --config-path=$(target)/data/conf/config.pl
14    
15    agi:
16            sudo /etc/init.d/backuppc-agi stop
17            sudo perl ./configure.pl --batch --config-path=/data/backuppc-agi/data/conf/config.pl
18            sudo /etc/init.d/backuppc-agi start
19    
20    qc:
21            sudo /etc/init.d/backuppc-qc stop
22            sudo perl ./configure.pl --batch --config-path=/data/backuppc-qc/data/conf/config.pl
23            sudo /etc/init.d/backuppc-qc start
24    
25  install:  install:
26          sudo perl ./configure.pl          sudo perl ./configure.pl
27    
# Line 31  update: Line 41  update:
41    
42  index: test  index: test
43          sudo rm -Rf /data/backuppc/data/casket || true          sudo rm -Rf /data/backuppc/data/casket || true
44          sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -i          sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -j
45    
46  xls: test  xls: test
47          sudo -u backuppc /data/backuppc/bin/BackupPC_xls_report          sudo -u backuppc /data/backuppc/bin/BackupPC_xls_report
# Line 53  profile: test Line 63  profile: test
63          createdb $(db)          createdb $(db)
64          date > $(profile_file)          date > $(profile_file)
65          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'  
66          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)
67          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'  
68          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)
69          dprofpp 2>&1 | tee -a $(profile_file)          dprofpp 2>&1 | tee -a $(profile_file)
70          echo "## DBI_PROFILE RUN" >> $(profile_file)          echo "## DBI_PROFILE RUN" >> $(profile_file)
71          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)
72          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'`
73    
74    tar: test
75            psql -c "delete from backup_parts" backuppc
76            sudo -u backuppc /data/backuppc/bin/BackupPC_tarIncCreate -h llin -s /etc -n 10 -d -v
77    
78    inc: test
79            sudo -u backuppc /data/backuppc/bin/BackupPC_incPartsUpdate -c -d
80            
81    burn: test
82            sudo /data/backuppc/bin/BackupPC_burnArchiveCLI

Legend:
Removed from v.119  
changed lines
  Added in v.245

  ViewVC Help
Powered by ViewVC 1.1.26