24 |
sudo $(target)/etc/backuppc stop |
sudo $(target)/etc/backuppc stop |
25 |
|
|
26 |
install-etc: |
install-etc: |
27 |
test -d $(target)/etc || cp -r etc $(target) && chmod 755 $(target)/etc/backuppc |
test -d $(target)/etc || sudo cp -r etc $(target) && sudo chmod 755 $(target)/etc/backuppc |
28 |
|
|
29 |
|
update: |
30 |
|
sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb |
31 |
|
|
32 |
|
index: test |
33 |
|
sudo rm -Rf /data/backuppc/data/casket || true |
34 |
|
sudo -u backuppc /data/backuppc/bin/BackupPC_updatedb -j |
35 |
|
|
36 |
|
xls: test |
37 |
|
sudo -u backuppc /data/backuppc/bin/BackupPC_xls_report |
38 |
|
which gnumeric && gnumeric /tmp/report.xls || cp -vf /tmp/report.xls ~/public_html/ |
39 |
|
|
40 |
asa: |
asa: |
41 |
rm -Rf $(tmp) |
rm -Rf $(tmp) |
43 |
rsync -rav $(tmp) 10.210.99.1:backuppc-svn/ |
rsync -rav $(tmp) 10.210.99.1:backuppc-svn/ |
44 |
rm -Rf $(tmp) |
rm -Rf $(tmp) |
45 |
|
|
46 |
|
html: |
47 |
|
test ! -z "`svn2html.pl`" && svn update && svn2html.pl > doc/Changes.html |
48 |
|
|
49 |
profile: test |
profile: test |
50 |
test -e tmon.out || touch tmon.out |
test -e tmon.out || touch tmon.out |
51 |
sudo chown backuppc tmon.out |
sudo chown backuppc tmon.out |
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 |
|
tar: test |
65 |
|
sudo -u backuppc /data/backuppc/bin/BackupPC_tarIncCreate -h llin -s /etc -n 10 -d -v |
66 |
|
|
67 |
|
inc: test |
68 |
|
sudo -u backuppc /data/backuppc/bin/BackupPC_incPartsUpdate -c -d |
69 |
|
|
70 |
|
burn: test |
71 |
|
sudo /data/backuppc/bin/BackupPC_burnArchiveCLI |