3 # Attempt to strip the path
10 scripts/copy-strip-confs
15 cp -rpf ${cwd}/build/src/dird/ /tmp/$$-strip/
16 echo "/tmp/$$-strip" >${cwd}/tmp/file-list
18 change_jobname NightlySave $JobName
21 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
24 @$out ${cwd}/tmp/log1.out
25 @#setdebug level=150 dir
26 @#setdebug level=150 storage=FileStorage
27 setdebug level=100 client=$CLIENT
28 label storage=FileStorage pool=Default volume=TestVolume001
29 run job=$JobName storage=FileStorage pool=Default yes
38 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
44 @$out ${cwd}/tmp/log2.out
45 @#setdebug level=50 client=$CLIENT
46 restore where=${cwd}/tmp/bacula-restores select all storage=FileStorage done
56 check_for_zombie_jobs storage=FileStorage
61 # Kludge remove this next line when strip is fixed
63 rm -rf tmp/bacula-restores/tmp
64 if test "$debug" -eq 1 ; then
65 diff -ur /tmp/$$-strip/dird/ tmp/bacula-restores/
67 diff -r /tmp/$$-strip/dird/ tmp/bacula-restores/ 2>&1 >/dev/null