]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/backup-win32-tape
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / tests / backup-win32-tape
index 7b9648403a8519ac1cc22d047c4fba8c51dd61a5..86613e4425b4693e574d4b0b6da57e975745d4b3 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/sh
+#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+
 #
 # Run a simple backup of the Bacula build directory 
 #   to a tape then restore it, we do that twice to ensure that
@@ -23,10 +28,10 @@ cat <<END_OF_DATA >${cwd}/tmp/bconcmds
 @$out /dev/null
 messages
 @$out ${cwd}/tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
+label storage=tape volume=TestVolume001 slot=0 pool=Default
 run job=NightlySave yes
 @sleep 10
-status storage=DDS-4
+status storage=tape
 @sleep 30
 messages
 wait
@@ -35,14 +40,14 @@ messages
 @# now do a restore
 @#
 @$outt ${cwd}/tmp/log2.out
-@#restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
+@#restore where=${cwd}/tmp/bacula-restores select all storage=tape done
 @#yes
 @#wait
 @#messages
 END_OF_DATA
 
 run_bacula
-check_for_zombie_jobs storage=DDS-4
+check_for_zombie_jobs storage=tape
 stop_bacula
 
 check_two_logs