]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Now you can use RunScript to generate client-list-file FileSet (ie \</home/xx...
authorEric Bollengier <eric@eb.homelinux.org>
Wed, 13 Dec 2006 10:57:52 +0000 (10:57 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Wed, 13 Dec 2006 10:57:52 +0000 (10:57 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3797 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/dird/backup.c

index 8df126a9f090ac1d953fef6f8545dddcba6b2d1d..1927103ffe46ba2fb0fff026a99b1a5a0c9213da 100644 (file)
@@ -171,15 +171,19 @@ bool do_backup(JCR *jcr)
    set_jcr_job_status(jcr, JS_Running);
    fd = jcr->file_bsock;
 
-   if (!send_include_list(jcr)) {
+   if (!send_level_command(jcr)) {
       goto bail_out;
    }
 
-   if (!send_exclude_list(jcr)) {
+   if (!send_runscripts_commands(jcr)) {
       goto bail_out;
    }
 
-   if (!send_level_command(jcr)) {
+   if (!send_include_list(jcr)) {
+      goto bail_out;
+   }
+
+   if (!send_exclude_list(jcr)) {
       goto bail_out;
    }
 
@@ -205,10 +209,6 @@ bool do_backup(JCR *jcr)
       goto bail_out;
    }
 
-   if (!send_runscripts_commands(jcr)) {
-      goto bail_out;
-   }
-
    /*    
     * We re-update the job start record so that the start
     *  time is set after the run before job.  This avoids