blob: 8b5da7e357155d7847286792c9b2de4321774807 (
plain)
1 diff -Nru baras/baras.pl baras-new/baras.pl
2 --- baras/baras.pl 2009-02-22 22:27:11.000000000 +0100
3 +++ baras-new/baras.pl 2009-02-27 04:11:20.000000000 +0100
4 @@ -1,7 +1,7 @@
5 #!/usr/bin/perl -w
6
7 BEGIN {
8 - push @INC, "/var/adm/baras/";
9 + push @INC, "/usr/lib/baras/";
10 }
11
12 use strict;
13 diff -Nru baras/etc/baras/baras.conf baras-new/etc/baras/baras.conf
14 --- baras/etc/baras/baras.conf 2009-02-22 22:28:33.000000000 +0100
15 +++ baras-new/etc/baras/baras.conf 2009-02-27 04:13:01.000000000 +0100
16 @@ -54,9 +54,9 @@
17 # If you are tight for space, we can delete before starting
18 REMOVE_FIRST="no"
19
20 -# PAR2 usage
21 -PAR_ARCHIVE="two"
22 -PAR2=/usr/bin/par2
23 +# PAR2 usage (uncomment to activate)
24 +#PAR_ARCHIVE="two"
25 +#PAR2=/usr/bin/par2
26 #PAR2_PERCENTAGE=5
27
28 # Pre-processing
29 @@ -100,13 +100,13 @@
30 #BASENAME="$(date +'%m-%d-%Y_%H%M')"
31
32 # The location of the DAR executable file
33 -DAR_BINARY="/usr/local/bin/dar"
34 +DAR_BINARY="/usr/bin/dar"
35
36 # The location of the DAR MANAGER executable file
37 -DAR_MGR_BINARY="/usr/local/bin/dar_manager"
38 +DAR_MGR_BINARY="/usr/bin/dar_manager"
39
40 # The location of the statically-compiled DAR executable file
41 -DAR_STATIC="/usr/local/bin/dar_static"
42 +DAR_STATIC="/usr/bin/dar_static"
43
44 # The temporary directory name that backups will be created in. This will be created underneath $DESTINATION.
45 WORK_DIR=".baras_temp_workdir"
46 @@ -118,6 +118,3 @@
47 # that option if needed at run-time, according to the rotation.schedule.
48 DAR_COMMAND="$DAR_BINARY -Q --batch $BARAS_ETC/$BARAS_DCF -c $DAR_CREATE --noconf"
49
50 -# Location and name of temporary log file
51 -TEMP_LOG="$BARAS_ETC/baras_temp.log"
52 -
|