bscan_libdbi
# If the database has a password pass it to bscan
-if test "x${db_passwd}" = "x"; then
+if test "x${db_password}" = "x"; then
PASSWD=
else
- PASSWD="-P ${db_passwd}"
+ PASSWD="-P ${db_password}"
fi
if test "$debug" -eq 1 ; then
@# now do a restore
@#
@#setdebug level=400 storage=File1
-restore bootstrap=tmp/kern.bsr where=tmp/bacula-restores select all storage=File1 done
+restore bootstrap=${cwd}/tmp/kern.bsr where=${cwd}/tmp/bacula-restores select all storage=File1 done
yes
wait
messages