3 # Copyright (C) 2000-2015 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
8 # Attempt to backup and restore a file with the bpipe plugin
15 scripts/copy-plugin-confs
16 echo "${cwd}/build/po" >${cwd}/tmp/file-list
17 rm -f ${cwd}/working/*trace*
21 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
24 @$out ${cwd}/tmp/log1.out
25 label storage=File1 volume=TestVolume001
26 update volume=TestVolume001 MaxVolBytes=1000
27 run job=$JobName storage=File1 yes
35 killall -SEGV bacula-dir bacula-sd bacula-fd
37 test -f working/*dir*lockdump
39 test -f working/*fd*lockdump
40 dstat=`expr $dstat + $?`
41 test -f working/*sd*lockdump
42 dstat=`expr $dstat + $?`
43 test -f working/*dir*traceback
44 dstat=`expr $dstat + $?`
45 test -f working/*fd*traceback
46 dstat=`expr $dstat + $?`
47 test -f working/*sd*traceback
48 dstat=`expr $dstat + $?`
50 grep $JobName working/*dir*lockdump > /dev/null 2>&1
51 dstat=`expr $dstat + $?`
52 grep bpipe-fd.so working/*fd*lockdump > /dev/null 2>&1
53 dstat=`expr $dstat + $?`
54 grep $JobName working/*fd*lockdump > /dev/null 2>&1
55 dstat=`expr $dstat + $?`