]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/scheduler.c
ebl Check size, age of each file after their backup to see if
[bacula/bacula] / bacula / src / dird / scheduler.c
index 6b9550442fc6791a9b48e8c8e187a192ead48918..35c41787661fa49d37abdd4f9bdfa4f8a3405718 100644 (file)
@@ -1,18 +1,7 @@
-/*
- *
- *   Bacula scheduler
- *     It looks at what jobs are to be run and when
- *     and waits around until it is time to
- *     fire them up.
- *
- *     Kern Sibbald, May MM, major revision December MMIII
- *
- *   Version $Id$
- */
 /*
    Bacula® - The Network Backup Solution
 
-   Copyright (C) 2000-2006 Free Software Foundation Europe e.V.
+   Copyright (C) 2000-2007 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.
    (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
    Switzerland, email:ftf@fsfeurope.org.
 */
+/*
+ *
+ *   Bacula scheduler
+ *     It looks at what jobs are to be run and when
+ *     and waits around until it is time to
+ *     fire them up.
+ *
+ *     Kern Sibbald, May MM, major revision December MMIII
+ *
+ *   Version $Id$
+ */
 
 #include "bacula.h"
 #include "dird.h"
@@ -218,7 +218,10 @@ again:
       jcr->run_diff_pool_override = true;
    }
    if (run->storage) {
-      set_rwstorage(jcr, run->storage); /* override storage */
+      USTORE store;
+      store.store = run->storage;
+      pm_strcpy(store.store_source, _("run override"));
+      set_rwstorage(jcr, &store);     /* override storage */
    }
    if (run->msgs) {
       jcr->messages = run->msgs;      /* override messages */