3 # Copyright (C) 2000-2017 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
6 # Run a simple backup of the Bacula build directory then bls
14 ${rscripts}/copy-test-confs
15 echo "${tmpsrc}" >${tmp}/file-list
17 cp -p ${src}/src/dird/*.c ${tmpsrc}
19 echo "${tmpsrc}/ficheriro1.txt" >restore-list
20 echo "${tmpsrc}/ficheriro2.txt" >>restore-list
25 cat <<END_OF_DATA >${tmp}/bconcmds
29 @#setdebug level=200 storage=File
30 @#setdebug level=200 client
31 @#setdebug level=100 director
32 label storage=File volume=TestVolume001
33 label storage=File volume=TestVolume002
42 check_for_zombie_jobs storage=File
45 $bin/bls -d 50 -v -c $conf/bacula-sd.conf -V 'TestVolume001' FileStorage > $tmp/bls.out
49 if test "$debug" -eq 1 ; then
53 #check_restore_tmp_build_diff