]> git.sur5r.net Git - bacula/bacula/commitdiff
Directly mark all files saved by plugin as being seen for Accurate
authorKern Sibbald <kern@sibbald.com>
Sat, 28 Mar 2009 17:49:36 +0000 (17:49 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 28 Mar 2009 17:49:36 +0000 (17:49 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8631 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/filed/fd_plugins.c
bacula/technotes

index 67943bbf722c04f4148df43c817e1690a4a0e77e..e484da73f2451ebc9175caa11ad80574aa0db7e5 100644 (file)
@@ -284,6 +284,9 @@ int plugin_save(JCR *jcr, FF_PKT *ff_pkt, bool top_level)
          Dmsg1(dbglvl, "Save_file: file=%s\n", ff_pkt->fname);
          save_file(jcr, ff_pkt, true);
          bRC rc = plug_func(plugin)->endBackupFile(jcr->plugin_ctx);
+         if (rc == bRC_More || rc == bRC_OK) {
+            accurate_mark_file_as_seen(jcr, ff_pkt->fname);
+         }
          if (rc == bRC_More) {
             continue;
          }
index 6f94b299ecadf250e376b1b3c5489187565ea34a..413b37f035b44c3a03915ef27bc8599d228b3711 100644 (file)
@@ -2,6 +2,7 @@
           
 General:
 28Mar09
+kes  Directly mark all files saved by plugin as being seen for Accurate.
 kes  Add checks on the plugin version and the plugin license. Currently
      only implemented for FD plugins.
 kes  Add installation of /usr/share/doc/bacula-VERSION