@$out ${cwd}/tmp/log1.out
@#setdebug level=150 dir
@#setdebug level=150 storage=FileStorage
-setdebug level=100 client
+setdebug level=100 client=$CLIENT
label storage=FileStorage pool=Default volume=TestVolume001
run job=$JobName storage=FileStorage pool=Default yes
wait
@# now do a restore
@#
@$out ${cwd}/tmp/log2.out
-@#setdebug level=50 client
+@#setdebug level=50 client=$CLIENT
restore where=${cwd}/tmp/bacula-restores select all storage=FileStorage done
yes
wait
stop_bacula
check_two_logs
-# check_restore_diff do not check restore since we cannot backup all /etc
+# check_restore_diff does not work because we cannot read all /etc, so skip it
+dstat=0
end_test