- Do restart of failed jobs only for Backups job types.
- A number of DVD updates from Nicolas.
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2257 
91ce42f0-d328-0410-95d8-
f526ca767f89
 
 General:
 
 Changes to 1.37.32:
+26Jul05
+- Modify mtx-changer to wait a maximum of 300 seconds.
+- Do restart of failed jobs only for Backups job types.
+- A number of DVD updates from Nicolas.
 24Jul05
 - Turn off old service helper code in Win32.
 - Correct Messages bug found by Phil in stored.
 
 # The purpose of this function to wait a maximum 
 #   time for the drive. It will
 #   return as soon as the drive is ready, or after
-#   waiting a maximum of 180 seconds.
+#   waiting a maximum of 300 seconds.
 # Note, this is very system dependent, so if you are
 #   not running on Linux, you will probably need to
 #   re-write it, or at least change the grep target.
 #
 wait_for_drive() {
   i=0 
-  while [ $i -le 180 ]; do  # Wait max 180 seconds
+  while [ $i -le 300 ]; do  # Wait max 300 seconds
     if mt -f $1 status | grep ONLINE  >/dev/null 2>&1; then
       break
     fi
 
              jcr->JobStatus != JS_Terminated &&
              jcr->JobStatus != JS_Canceled &&
              jcr->job->RescheduleTimes > 0 &&
+             jcr->JobType == JT_BACKUP &&
              jcr->reschedule_count < jcr->job->RescheduleTimes) {
              char dt[50];
 
 
 /* */
 #undef  VERSION
 #define VERSION "1.37.32"
-#define BDATE   "24 July 2005"
-#define LSMDATE "24Jul05"
+#define BDATE   "26 July 2005"
+#define LSMDATE "26Jul05"
 
 /* Debug flags */
 #undef  DEBUG