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 | 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 | 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 |
|
|
73 |
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) |
74 |
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'` |
75 |
|
|
76 |
|
tar: test |
77 |
|
psql -c "delete from backup_parts" backuppc |
78 |
|
sudo -u backuppc /data/backuppc/bin/BackupPC_tarIncCreate -h llin -s /etc -n 10 -d -v |
79 |
|
|
80 |
|
inc: test |
81 |
|
sudo -u backuppc /data/backuppc/bin/BackupPC_incPartsUpdate -c -d |
82 |
|
|
83 |
|
burn: test |
84 |
|
sudo /data/backuppc/bin/BackupPC_burnArchiveCLI |