$OpenBSD: patch-src_dird_bacula-dir_conf_in,v 1.7 2011/11/17 23:45:56 ajacoutot Exp $ --- src/dird/bacula-dir.conf.in.orig Sun Oct 30 13:03:42 2011 +++ src/dird/bacula-dir.conf.in Tue Nov 15 20:25:39 2011 @@ -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@" @@ -76,8 +77,8 @@ Job { Job { Name = "RestoreFiles" Type = Restore - Client=@basename@-fd - FileSet="Full Set" + Client = @basename@-fd + FileSet = "Full Set" Storage = File Pool = Default Messages = Standard @@ -154,7 +155,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 @@ -168,8 +169,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 @@ -183,7 +184,7 @@ Client { Storage { Name = File # Do not use "localhost" here - Address = @hostname@ # N.B. Use a fully qualified name here + Address = 127.0.0.1 # N.B. Use a fully qualified name here SDPort = @sd_port@ Password = "@sd_password@" Device = FileStorage @@ -196,7 +197,7 @@ Storage { #Storage { # Name = DDS-4 # Do not use "localhost" here -# Address = @hostname@ # N.B. Use a fully qualified name here +# Address = 127.0.0.1 # N.B. Use a fully qualified name here # SDPort = @sd_port@ # Password = "@sd_password@" # password for Storage daemon # Device = DDS-4 # must be same as Device in Storage daemon @@ -208,7 +209,7 @@ Storage { #Storage { # Name = "8mmDrive" # Do not use "localhost" here -# Address = @hostname@ # N.B. Use a fully qualified name here +# Address = 127.0.0.1 # N.B. Use a fully qualified name here # SDPort = @sd_port@ # Password = "@sd_password@" # Device = "Exabyte 8mm" @@ -219,7 +220,7 @@ Storage { #Storage { # Name = "DVD" # Do not use "localhost" here -# Address = @hostname@ # N.B. Use a fully qualified name here +# Address = 127.0.0.1 # N.B. Use a fully qualified name here # SDPort = @sd_port@ # Password = "@sd_password@" # Device = "DVD Writer"