/[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 247 by dpavlin, Fri Dec 9 14:40:53 2005 UTC revision 384 by iklaric, Tue Jun 5 12:01:25 2007 UTC
# Line 15  reinstall: Line 15  reinstall:
15  agi:  agi:
16          sudo /etc/init.d/backuppc-agi stop          sudo /etc/init.d/backuppc-agi stop
17          sudo perl ./configure.pl --batch --config-path=/data/backuppc-agi/data/conf/config.pl          sudo perl ./configure.pl --batch --config-path=/data/backuppc-agi/data/conf/config.pl
18          cd custom/ && find . -type f | sudo cpio -puV /data/backuppc-agi/          cd custom/ && find . -type f | grep -v '.svn' | sudo cpio -puV /data/backuppc-agi/
19            cat /data/backuppc-agi/data/conf/config.pl | perl -e 'while(<>){if($$_=~m/^(.*)___ESTRAIER_URI___(.*)$$/gi){print "$${1}http://localhost:1978/nodes/agi$$2";}else{print $$_;}}' | less
20          sudo /etc/init.d/backuppc-agi start          sudo /etc/init.d/backuppc-agi start
21    
22  qc:  qc:
23          sudo /etc/init.d/backuppc-qc stop          sudo /etc/init.d/backuppc-qc stop
24          sudo perl ./configure.pl --batch --config-path=/data/backuppc-qc/data/conf/config.pl          sudo perl ./configure.pl --batch --config-path=/data/backuppc-qc/data/conf/config.pl
25          cd custom/ && find . -type f | sudo cpio -puV /data/backuppc-qc/          cd custom/ && find . -type f | grep -v '.svn' | sudo cpio -puV /data/backuppc-qc/
26            cat /data/backuppc-qc/data/conf/config.pl | perl -e 'while(<>){if($$_=~m/^(.*)___ESTRAIER_URI___(.*)$$/gi){print "$${1}http://localhost:1978/nodes/qc$$2";}else{print $$_;}}' | less
27          sudo /etc/init.d/backuppc-qc start          sudo /etc/init.d/backuppc-qc start
28    
29  install:  install:
# Line 49  xls: test Line 51  xls: test
51          sudo -u backuppc /data/backuppc/bin/BackupPC_xls_report          sudo -u backuppc /data/backuppc/bin/BackupPC_xls_report
52          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/
53    
 asa:  
         rm -Rf $(tmp)  
         svn export . $(tmp)  
         rsync -rav $(tmp) 10.210.99.1:backuppc-svn/  
         rm -Rf $(tmp)  
   
54  html:  html:
55          test ! -z "`svn2html.pl`" && svn update && svn2html.pl > doc/Changes.html          test ! -z "`svn2html.pl`" && svn update && svn2html.pl > doc/Changes.html
56    
# Line 75  profile: test Line 71  profile: test
71    
72  tar: test  tar: test
73          psql -c "delete from backup_parts" backuppc          psql -c "delete from backup_parts" backuppc
74          sudo -u backuppc /data/backuppc/bin/BackupPC_tarIncCreate -h llin -s /etc -n 10 -d -v          sudo -u backuppc /data/backuppc/bin/BackupPC_tarIncCreate -h llin -s /etc -n 10 -v -f -d
75    
76  inc: test  inc: test
77          sudo -u backuppc /data/backuppc/bin/BackupPC_incPartsUpdate -c -d          sudo -u backuppc /data/backuppc/bin/BackupPC_incPartsUpdate -c
78                    
79  burn: test  burn: test
80            psql -c "delete from archive_burned" backuppc
81          sudo /data/backuppc/bin/BackupPC_burnArchiveCLI          sudo /data/backuppc/bin/BackupPC_burnArchiveCLI
82    
83    clean-restore:
84            sudo -u backuppc rm -Rf /data/backuppc/data/pc/restore/
85    
86    restore: clean-restore test
87            sleep 1
88            sudo ./bin/BackupPC_recover_from_increments /data/backuppc/temp/llin_etc*

Legend:
Removed from v.247  
changed lines
  Added in v.384

  ViewVC Help
Powered by ViewVC 1.1.26