/[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 111 by dpavlin, Thu Sep 1 18:38:49 2005 UTC revision 361 by dpavlin, Sat Apr 29 10:59:09 2006 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            cd custom/ && find . -type f | grep -v '.svn' | sudo cpio -puV /data/backuppc-agi/
19            sudo /etc/init.d/backuppc-agi start
20    
21    qc:
22            sudo /etc/init.d/backuppc-qc stop
23            sudo perl ./configure.pl --batch --config-path=/data/backuppc-qc/data/conf/config.pl
24            cd custom/ && find . -type f | grep -v '.svn' | sudo cpio -puV /data/backuppc-qc/
25            sudo /etc/init.d/backuppc-qc start
26    
27  install:  install:
28          sudo perl ./configure.pl          sudo perl ./configure.pl
29    
# Line 31  update: Line 43  update:
43    
44  index: test  index: test
45          sudo rm -Rf /data/backuppc/data/casket || true          sudo rm -Rf /data/backuppc/data/casket || true
46          sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -i          sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -j
47    
48  xls: test  xls: test
49          sudo -u backuppc /data/backuppc/bin/BackupPC_xls_report          sudo -u backuppc /data/backuppc/bin/BackupPC_xls_report
50          which gnumeric && gnumeric /tmp/report.xls || cp -vf /tmp/report.xls ~/public_html/          which gnumeric && gnumeric /tmp/report.xls || cp -vf /tmp/report.xls ~/public_html/
51    
52  asa:  html:
53          rm -Rf $(tmp)          test ! -z "`svn2html.pl`" && svn update && svn2html.pl > doc/Changes.html
         svn export . $(tmp)  
         rsync -rav $(tmp) 10.210.99.1:backuppc-svn/  
         rm -Rf $(tmp)  
54    
55  profile: test  profile: test
56          test -e tmon.out || touch tmon.out          test -e tmon.out || touch tmon.out
# Line 58  profile: test Line 67  profile: test
67          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)
68          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'`
69    
70    tar: test
71            psql -c "delete from backup_parts" backuppc
72            sudo -u backuppc /data/backuppc/bin/BackupPC_tarIncCreate -h llin -s /etc -n 10 -v -f -d
73    
74    inc: test
75            sudo -u backuppc /data/backuppc/bin/BackupPC_incPartsUpdate -c
76            
77    burn: test
78            psql -c "delete from archive_burned" backuppc
79            sudo /data/backuppc/bin/BackupPC_burnArchiveCLI
80    
81    cleanup-restore:
82            sudo -u backuppc rm -Rf /data/backuppc/data/pc/restore/
83    
84    restore: cleanup-restore test
85            sleep 1
86            sudo ./bin/BackupPC_recover_from_increments /data/backuppc/temp/llin_etc*

Legend:
Removed from v.111  
changed lines
  Added in v.361

  ViewVC Help
Powered by ViewVC 1.1.26