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