[Rear-users] SF.net SVN: rear:[755] trunk/usr/share/rear

gdha at users.sourceforge.net gdha at users.sourceforge.net
Fri Feb 3 16:24:30 CET 2012


Revision: 755
          http://rear.svn.sourceforge.net/rear/?rev=755&view=rev
Author:   gdha
Date:     2012-02-03 15:24:29 +0000 (Fri, 03 Feb 2012)
Log Message:
-----------
- applied fix SF#3481656
- PROGS_BACULA does include bconsole but bacula-console ist missing
- Adding /var/run/bacula  to the skeleton directory
-> thanks to stefan at semmelroggen.de

Modified Paths:
--------------
    trunk/usr/share/rear/conf/default.conf
    trunk/usr/share/rear/prep/BACULA/default/50_check_BACULA_bconsole_results.sh

Added Paths:
-----------
    trunk/usr/share/rear/skel/BACULA/var/run/
    trunk/usr/share/rear/skel/BACULA/var/run/bacula/

Modified: trunk/usr/share/rear/conf/default.conf
===================================================================
--- trunk/usr/share/rear/conf/default.conf	2012-01-26 19:46:11 UTC (rev 754)
+++ trunk/usr/share/rear/conf/default.conf	2012-02-03 15:24:29 UTC (rev 755)
@@ -374,7 +374,7 @@
 ##
 COPY_AS_IS_BACULA=( /etc/bacula /var/spool/bacula )
 COPY_AS_IS_EXCLUDE_BACULA=( /var/lib/bacula )
-PROGS_BACULA=( bacula-fd bconsole bextract bls bscan btape smartctl )
+PROGS_BACULA=( bacula-fd bconsole bacula-console bextract bls bscan btape smartctl )
 # Provide the (possible) volume labels to restore from using bextract.
 # Multiple entries can be separated by '|' and '*' wildcards are allowed.
 #  eg. VOL-*|Vol-*

Modified: trunk/usr/share/rear/prep/BACULA/default/50_check_BACULA_bconsole_results.sh
===================================================================
--- trunk/usr/share/rear/prep/BACULA/default/50_check_BACULA_bconsole_results.sh	2012-01-26 19:46:11 UTC (rev 754)
+++ trunk/usr/share/rear/prep/BACULA/default/50_check_BACULA_bconsole_results.sh	2012-02-03 15:24:29 UTC (rev 755)
@@ -29,7 +29,7 @@
 # and that the director can connect to the file daemon on this system.
 # "Connecting to Director 'director_name-fd:9101'"
 # "Connecting to Client 'bacula_client_name-fd at FQDN:9102"
-BACULA_CLIENT=`grep $(hostname -s) /etc/bacula/bacula-fd.conf | grep "\-fd" | awk '{print $3}' | cut -d"-" -f1`
+BACULA_CLIENT=`grep $(hostname -s) /etc/bacula/bacula-fd.conf | grep "\-fd" | awk '{print $3}' | sed -e "s/-fd//g"`
 [ "${BACULA_CLIENT}" ]
 StopIfError "Client $(hostname -s) not defined in /etc/bacula/bacula-fd.conf"
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the rear-users mailing list