openbsd-ports/sysutils/bacula/patches/patch-src_dird_bacula-dir_conf_in
ajacoutot 186a14223e Major update to Bacula 7.0.2.
Some info at:
http://blog.bacula.org/p710/
http://blog.bacula.org/release-7-0-2/

Now builds with our libtool(1).

While there's a huge amount of changes, existing setups "should" just
work without any modification.

tested by sthen@ and myself
ok sthen@, my new co-maintainer :-)
2014-04-19 09:44:11 +00:00

59 lines
2.1 KiB
Plaintext

$OpenBSD: patch-src_dird_bacula-dir_conf_in,v 1.8 2014/04/19 09:44:11 ajacoutot Exp $
--- src/dird/bacula-dir.conf.in.orig Sat Mar 29 09:00:03 2014
+++ src/dird/bacula-dir.conf.in Fri Apr 4 22:12:13 2014
@@ -14,6 +14,7 @@
Director { # define myself
Name = @basename@-dir
+ DIRaddress = 127.0.0.1
DIRport = @dir_port@ # where we listen for UA connections
QueryFile = "@scriptdir@/query.sql"
WorkingDirectory = "@working_dir@"
@@ -166,7 +167,7 @@ FileSet {
# Client (File Services) to backup
Client {
Name = @basename@-fd
- Address = @hostname@
+ Address = 127.0.0.1
FDPort = @fd_port@
Catalog = MyCatalog
Password = "@fd_password@" # password for FileDaemon
@@ -180,8 +181,8 @@ Client {
# You should change Name, Address, and Password before using
#
#Client {
-# Name = @basename@2-fd
-# Address = @hostname@2
+# Name = client2-fd
+# Address = client2.my.domain
# FDPort = @fd_port@
# Catalog = MyCatalog
# Password = "@fd_password@2" # password for FileDaemon 2
@@ -195,7 +196,7 @@ Client {
Storage {
Name = File1
# Do not use "localhost" here
- Address = @hostname@ # N.B. Use a fully qualified name here
+ Address = storage.host.name # N.B. Use a fully qualified name here
SDPort = @sd_port@
Password = "@sd_password@"
Device = FileChgr1
@@ -208,7 +209,7 @@ Storage {
Storage {
Name = File2
# Do not use "localhost" here
- Address = @hostname@ # N.B. Use a fully qualified name here
+ Address = storage.host.name # N.B. Use a fully qualified name here
SDPort = @sd_port@
Password = "@sd_password@"
Device = FileChgr2
@@ -220,7 +221,7 @@ Storage {
#Storage {
# Name = LTO-4
# Do not use "localhost" here
-# Address = @hostname@ # N.B. Use a fully qualified name here
+# Address = storage.host.name # N.B. Use a fully qualified name here
# SDPort = @sd_port@
# Password = "@sd_password@" # password for Storage daemon
# Device = LTO-4 # must be same as Device in Storage daemon