]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl update
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 29 Dec 2006 21:27:23 +0000 (21:27 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 29 Dec 2006 21:27:23 +0000 (21:27 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3858 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/INSTALL

index eec169a2857f470e1b46e3f470a696ac3e9ef44c..c18681102628efdb0d206091ca129d8a568442b1 100644 (file)
@@ -192,8 +192,18 @@ chown www-data /var/spool/bweb
 You must use brestore.pl -b to initialise the database, and
 you can use bfileview.pl mode=batch jobid=xxx where=/ to compute tree size.
 
-At this time, it's a good idea to schedule brestore.pl -g after your BackupCatalog
-job.
+At this time, it's a good idea to schedule brestore.pl -g after your 
+BackupCatalog job.
+
+Job {
+  Name = "BackupCatalog"
+  ...
+  # This creates an ASCII copy of the catalog
+  RunBeforeJob = "/opt/bacula/etc/make_catalog_backup bacula bacula Pei0ahm9"
+  # This deletes the copy of the catalog
+  RunAfterJob  = "/opt/bacula/etc/delete_catalog_backup"
+  RunAfterJob  = "/usr/local/bin/brestore.pl -b"
+}
 
 To upgrade from an old installation, you can use :
 ALTER TABLE brestore_pathvisibility ADD Size int8;