]> git.sur5r.net Git - bacula/bacula/blob - regress/prototype.conf
a12afa045037e781a8de41d7b7acb6c92b961674
[bacula/bacula] / regress / prototype.conf
1 #
2 # Copyright (C) 2000-2015 Kern Sibbald
3 # License: BSD 2-Clause; see file LICENSE-FOSS
4 #
5 # Set this to the make option (usually -j3 or higher)
6 MAKEOPT="-j3"
7 USE_VTAPE=yes
8 #USE_SHSTORE=yes
9 #FORCE_ALIGNED=yes
10 #FORCE_DEDUP=yes
11 #FORCE_SDCALLS=yes
12
13 #BAT="--enable-bat"
14 BAT=
15
16 # Where to get the source to be tested
17 BACULA_SOURCE="${HOME}/bacula/bacula"
18
19 # Where to send email   !!!!! Change me !!!!!!!
20 EMAIL=my-name@domain.com
21 # if you don't have any SMTP, set "dummy" or empty to use dummy_bsmtp
22 SMTP_HOST="localhost"
23
24 # You may put your real host name here, but localhost is valid also
25 #  and it has the advantage that it works on a non-newtworked machine
26 HOST="127.0.0.1"
27
28 # Full "default" path where to find sqlite (no quotes!)
29 # if the right packages (sqlite3 & libsqlite3-dev for ubuntu) are installed
30 # just use WHICHDB="--with-sqlite3" below
31 SQLITE3_DIR=${HOME}/bacula/depkgs/sqlite3
32
33 # Set your database here
34 #WHICHDB="--with-sqlite3=${SQLITE3_DIR}"
35 #WHICHDB="--with-postgresql"
36 WHICHDB="--with-mysql" 
37
38 # set to /dev/null if you do not have a tape drive
39 # Note this is used for both the tape tests and the
40 #   autochanger
41 TAPE_DRIVE="/dev/nst0"
42 # set to scsi control for shared storage 
43 TAPE_CONTROL="/dev/null"
44
45 # if you don't have an autochanger set AUTOCHANGER to /dev/null
46 AUTOCHANGER="/dev/sg0"
47
48 # drive index of first autochanger drive
49 DRIVE1=0
50
51 # drive index of second autochanger drive or "none" (in lowercase)
52 DRIVE2="none"
53
54 # what slot to use for first tape
55 SLOT1=1
56
57 # what slot to use for the second tape
58 SLOT2=2
59
60 # For two drive tests -- set to /dev/null if you do not have it 
61 TAPE_DRIVE1="/dev/null"
62 # Set to second drive scsi control
63 TAPE_CONTROL1="/dev/null"
64
65 # Change this to use disk-changer with vtape
66 AUTOCHANGER_SCRIPT=mtx-changer
67
68 # This must be the path to the autochanger including its name
69 AUTOCHANGER_PATH="/usr/sbin/mtx"
70
71 # DB parameters
72 db_name="regress"
73 db_user="regress"
74 db_password=""
75
76 # Set this to "--with-tcp-wrappers" or "--without-tcp-wrappers"
77 TCPWRAPPERS="--with-tcp-wrappers"
78
79 # Set this to "" to disable OpenSSL support, "--with-openssl=yes"
80 # to enable it, or provide the path to the OpenSSL installation,
81 # eg "--with-openssl=/usr/local"
82 #   
83 # Note, you can also add any other (as many as you want) special   
84 #  Bacula configuration options here, such as --disable-batch-insert
85 #
86 OPENSSL="--with-openssl $BAT"
87
88 # Point RSYNC variable where your librsync 0.9.7b is installed
89 # you can compile librsync with 
90 # ./configure --with-pic --prefix=$HOME/dev/depkgs-rsync
91 # make 
92 # make install
93 #
94 # Then use the following RSYNC variable in your regress config file
95 #RSYNC=--with-rsync=$HOME/dev/depkgs-rsync
96 RSYNC=
97
98 # Point TOKYOCABINET variable where your tokyocabinet is installed
99 # you can compile tokyocabinet with 
100 # ./configure --with-pic --prefix=$HOME/dev/depkgs-tokyocabinet
101 # make 
102 # make install
103 #
104 # Then use the following TOKYOCABINET variable in your regress config file
105 # don't forget to update LD_LIBRARY_PATH or /etc/ld.so.conf,
106 #TOKYOCABINET=--with-tokyocabinet=$HOME/dev/depkgs-tokyocabinet
107 TOKYOCABINET=
108
109 # DEDUP allows to disable deduplication on the SD
110 # If you don't have TokyoCabinet
111 #DEDUP=--disable-sd-dedup
112 DEDUP=
113
114 # Use DEDUP device
115 #FORCE_DEDUP=yes|no
116
117 # Configure FileSet { Include { Options { Dedup = }}}
118 #DEDUP_FS_OPTION=bothsides|storage|none
119
120 # Use a client side cache
121 #DEDUP_FD_CACHE=yes|no
122
123 # enable USEA control library
124 #USEA=--enable-usea
125
126 # see --with-base-port at
127 # http://www.bacula.org/rel-manual/Installing_Bacula.html
128 # You only need to change this if you want to run more than one instance
129 # of regression testing on the same box. You'll need to set BASEPORT
130 # to values that do not overlap.  BASEPORT is the first of three ports
131 # required by each instance, one for each of Dir, SD, and the FD.
132 #
133 BASEPORT=8101
134
135 #
136 # If you want to post items to the Bacula Dart dashboard, you need to
137 #  create a unique name here for each of your test machines.
138 # We recommend that you prefix it by your name, and if you have multiple
139 #  test machines, add some indication of the machine.
140 #
141 SITE_NAME=<your-name>-bacula-${HOST}
142
143 # If you want to use the full source tree to run test uncomment this
144 # KEEP_SOURCE=yes
145
146 #
147 # The following are used only if you want to run Win32 tests, which
148 #   is a real pain since the Win32 machine is not localhost and you
149 #   also need to specify what to backup.
150 # There are a few Win32 tests e.g. tests/win32-test where this will
151 #   work. You must specify the client name, its address, and a 
152 #   file (which may be a directory) on the machine to backup.
153 #   It will be backed up and restored to c:/tmp, but no checking
154 #   of the resulting restore data is done.
155 #
156 # Client name. Note, it must be configured to accept your regress director
157 WIN32_CLIENT="yyyy"
158 # Client FQDN or IP address
159 WIN32_ADDR="yyyy"
160 # File or Directory to backup.  This is put in the "File" directive 
161 #   in the FileSet
162 WIN32_FILE="c:/users/xxxx"
163 # Port of Win32 client
164 WIN32_PORT=9102
165 # Win32 Client password
166 WIN32_PASSWORD="zzzzz"
167 # Where the win32 client will have to contact the SD
168 WIN32_STORE_ADDR="zzzz"
169 # To setup autologon and regress-win32.pl start
170 # User name
171 WIN32_USER=Administrator
172 # Admin password
173 WIN32_PASS=PasswordWin
174
175 #
176 # Testing remote SD
177 #
178 # IP address of remote SD
179 REMOTE_HOST_ADDR=
180
181 # Name of this Director which will be validated remotely
182 #   If we are the Director, you must put xxxx below.  
183 #   Only on the remote director do you put the name
184 #     of this director in the HOST environment variable
185 REMOTE_DIR_NAME="xxxxx"
186
187 #
188 # Testing remote FD
189 #
190
191 # Client name. Note, it must be configured to accept your regress director
192 REMOTE_CLIENT="yyyy"
193 # Client FQDN or IP address
194 REMOTE_ADDR="yyyy"
195 # File or Directory to backup.  This is put in the "File" directive 
196 #   in the FileSet
197 REMOTE_FILE="/tmp"
198 # Port of Win32 client
199 REMOTE_PORT=8102
200 # Win32 Client password
201 REMOTE_PASSWORD="zzzzz"
202 # Where the win32 client will have to contact the SD
203 REMOTE_STORE_ADDR="zzzz"