2014-04-19 09:44:11 +00:00
|
|
|
$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
|
2009-10-02 02:34:05 +00:00
|
|
|
@@ -14,6 +14,7 @@
|
2007-07-20 11:02:14 +00:00
|
|
|
|
|
|
|
Director { # define myself
|
2009-10-02 02:34:05 +00:00
|
|
|
Name = @basename@-dir
|
2007-07-20 11:02:14 +00:00
|
|
|
+ DIRaddress = 127.0.0.1
|
|
|
|
DIRport = @dir_port@ # where we listen for UA connections
|
|
|
|
QueryFile = "@scriptdir@/query.sql"
|
|
|
|
WorkingDirectory = "@working_dir@"
|
2014-04-19 09:44:11 +00:00
|
|
|
@@ -166,7 +167,7 @@ FileSet {
|
2007-07-20 11:02:14 +00:00
|
|
|
# Client (File Services) to backup
|
|
|
|
Client {
|
2009-10-02 02:34:05 +00:00
|
|
|
Name = @basename@-fd
|
2007-07-20 11:02:14 +00:00
|
|
|
- Address = @hostname@
|
|
|
|
+ Address = 127.0.0.1
|
|
|
|
FDPort = @fd_port@
|
|
|
|
Catalog = MyCatalog
|
|
|
|
Password = "@fd_password@" # password for FileDaemon
|
2014-04-19 09:44:11 +00:00
|
|
|
@@ -180,8 +181,8 @@ Client {
|
2007-07-20 11:02:14 +00:00
|
|
|
# You should change Name, Address, and Password before using
|
|
|
|
#
|
|
|
|
#Client {
|
2014-04-19 09:44:11 +00:00
|
|
|
-# Name = @basename@2-fd
|
2007-07-20 11:02:14 +00:00
|
|
|
-# Address = @hostname@2
|
2014-04-19 09:44:11 +00:00
|
|
|
+# Name = client2-fd
|
2007-07-20 11:02:14 +00:00
|
|
|
+# Address = client2.my.domain
|
|
|
|
# FDPort = @fd_port@
|
|
|
|
# Catalog = MyCatalog
|
2014-04-19 09:44:11 +00:00
|
|
|
# Password = "@fd_password@2" # password for FileDaemon 2
|
|
|
|
@@ -195,7 +196,7 @@ Client {
|
2011-11-17 23:45:56 +00:00
|
|
|
Storage {
|
2014-04-19 09:44:11 +00:00
|
|
|
Name = File1
|
|
|
|
# Do not use "localhost" here
|
2011-11-17 23:45:56 +00:00
|
|
|
- Address = @hostname@ # N.B. Use a fully qualified name here
|
2014-04-19 09:44:11 +00:00
|
|
|
+ Address = storage.host.name # N.B. Use a fully qualified name here
|
2011-11-17 23:45:56 +00:00
|
|
|
SDPort = @sd_port@
|
|
|
|
Password = "@sd_password@"
|
2014-04-19 09:44:11 +00:00
|
|
|
Device = FileChgr1
|
2010-07-20 14:38:39 +00:00
|
|
|
@@ -208,7 +209,7 @@ Storage {
|
2014-04-19 09:44:11 +00:00
|
|
|
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 {
|
2007-07-20 11:02:14 +00:00
|
|
|
#Storage {
|
2014-04-19 09:44:11 +00:00
|
|
|
# Name = LTO-4
|
2007-07-20 11:02:14 +00:00
|
|
|
# Do not use "localhost" here
|
2014-04-19 09:44:11 +00:00
|
|
|
-# Address = @hostname@ # N.B. Use a fully qualified name here
|
|
|
|
+# Address = storage.host.name # N.B. Use a fully qualified name here
|
2007-07-20 11:02:14 +00:00
|
|
|
# SDPort = @sd_port@
|
2014-04-19 09:44:11 +00:00
|
|
|
# Password = "@sd_password@" # password for Storage daemon
|
|
|
|
# Device = LTO-4 # must be same as Device in Storage daemon
|