]> git.sur5r.net Git - bacula/bacula/blob - regress/prototype.conf
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[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 BACULA_SOURCE=`pwd`/../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 # see --with-base-port at
124 # http://www.bacula.org/rel-manual/Installing_Bacula.html
125 # You only need to change this if you want to run more than one instance
126 # of regression testing on the same box. You'll need to set BASEPORT
127 # to values that do not overlap.  BASEPORT is the first of three ports
128 # required by each instance, one for each of Dir, SD, and the FD.
129 #
130 BASEPORT=8101
131
132 #
133 # If you want to post items to the Bacula Dart dashboard, you need to
134 #  create a unique name here for each of your test machines.
135 # We recommend that you prefix it by your name, and if you have multiple
136 #  test machines, add some indication of the machine.
137 #
138 SITE_NAME=bacula-${HOST}
139
140 # If you want to use the full source tree to run test uncomment this
141 # KEEP_SOURCE=yes
142
143 #
144 # The following are used only if you want to run Win32 tests, which
145 #   is a real pain since the Win32 machine is not localhost and you
146 #   also need to specify what to backup.
147 # There are a few Win32 tests e.g. tests/win32-test where this will
148 #   work. You must specify the client name, its address, and a 
149 #   file (which may be a directory) on the machine to backup.
150 #   It will be backed up and restored to c:/tmp, but no checking
151 #   of the resulting restore data is done.
152 #
153 # Client name. Note, it must be configured to accept your regress director
154 WIN32_CLIENT="yyyy"
155 # Client FQDN or IP address
156 WIN32_ADDR="yyyy"
157 # File or Directory to backup.  This is put in the "File" directive 
158 #   in the FileSet
159 WIN32_FILE="c:/users/xxxx"
160 # Port of Win32 client
161 WIN32_PORT=9102
162 # Win32 Client password
163 WIN32_PASSWORD="zzzzz"
164 # Where the win32 client will have to contact the SD
165 WIN32_STORE_ADDR="zzzz"
166 # To setup autologon and regress-win32.pl start
167 # User name
168 WIN32_USER=Administrator
169 # Admin password
170 WIN32_PASS=PasswordWin
171
172 #
173 # Testing remote SD
174 #
175 # IP address of remote SD
176 REMOTE_HOST_ADDR=
177
178 # Name of this Director which will be validated remotely
179 #   If we are the Director, you must put xxxx below.  
180 #   Only on the remote director do you put the name
181 #     of this director in the HOST environment variable
182 REMOTE_DIR_NAME="xxxxx"
183
184 #
185 # Testing remote FD
186 #
187
188 # Client name. Note, it must be configured to accept your regress director
189 REMOTE_CLIENT="yyyy"
190 # Client FQDN or IP address
191 REMOTE_ADDR="yyyy"
192 # File or Directory to backup.  This is put in the "File" directive 
193 #   in the FileSet
194 REMOTE_FILE="/tmp"
195 # Port of Win32 client
196 REMOTE_PORT=8102
197 # Win32 Client password
198 REMOTE_PASSWORD="zzzzz"
199 # Where the win32 client will have to contact the SD
200 REMOTE_STORE_ADDR="zzzz"