check_restore_diff()
{
- diff -r build tmp/bacula-restores${cwd}/build 2>&1 >/dev/null
+ if test "$debug" -eq 1 ; then
+ diff -ur build tmp/bacula-restores${cwd}/build
+ else
+ diff -r build tmp/bacula-restores${cwd}/build 2>&1 >/dev/null
+ fi
dstat=$?
}
check_restore_tmp_build_diff()
{
- diff -r tmp/build tmp/bacula-restores${cwd}/tmp/build 2>&1 >/dev/null
+ if test "$debug" -eq 1 ; then
+ diff -ur tmp/build tmp/bacula-restores${cwd}/tmp/build
+ else
+ diff -r tmp/build tmp/bacula-restores${cwd}/tmp/build 2>&1 >/dev/null
+ fi
dstat=$?
}
status storage=DDS-4
messages
setdebug level=150 storage=DDS-4
-setdebug level=200 client
+@#setdebug level=200 client
restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
yes
wait