]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/read.c
First cut of bat rerun a Job from Jobs Run
[bacula/bacula] / bacula / src / stored / read.c
index e154f801d076fc1814803f9995f42d7e0c8368ee..c0f87e9951c831801d6c94fe994f3aa209fd244a 100644 (file)
@@ -1,7 +1,7 @@
 /*
    Bacula® - The Network Backup Solution
 
-   Copyright (C) 2000-2009 Free Software Foundation Europe e.V.
+   Copyright (C) 2000-2010 Free Software Foundation Europe e.V.
 
    The main author of Bacula is Kern Sibbald, with contributions from
    many others, a complete list can be found in the file AUTHORS.
@@ -30,7 +30,6 @@
  *
  *     Kern Sibbald, November MM
  *
- *   Version $Id$
  */
 
 #include "bacula.h"
@@ -79,6 +78,8 @@ bool do_read_data(JCR *jcr)
 
    /* Tell File daemon we will send data */
    fd->fsend(OK_data);
+   set_jcr_job_status(jcr, JS_Running);
+   dir_send_job_status(jcr);
    ok = read_records(dcr, record_cb, mount_next_read_volume);
 
    /* Send end of data to FD */