bacula/bacula-5.2.2-config.patch
2011-12-07 18:19:17 +01:00

130 lines
4.7 KiB
Diff

diff -Naur bacula-5.2.2.old/src/dird/bacula-dir.conf.in bacula-5.2.2/src/dird/bacula-dir.conf.in
--- bacula-5.2.2.old/src/dird/bacula-dir.conf.in 2011-12-05 13:30:02.993111136 +0100
+++ bacula-5.2.2/src/dird/bacula-dir.conf.in 2011-12-05 13:37:34.149637004 +0100
@@ -154,7 +154,7 @@
# Client (File Services) to backup
Client {
Name = @basename@-fd
- Address = @hostname@
+ Address = client.example.com
FDPort = @fd_port@
Catalog = MyCatalog
Password = "@fd_password@" # password for FileDaemon
@@ -169,7 +169,7 @@
#
#Client {
# Name = @basename@2-fd
-# Address = @hostname@2
+# Address = client.example.com2
# FDPort = @fd_port@
# Catalog = MyCatalog
# Password = "@fd_password@2" # password for FileDaemon 2
@@ -183,7 +183,7 @@
Storage {
Name = File
# Do not use "localhost" here
- Address = @hostname@ # N.B. Use a fully qualified name here
+ Address = storage.example.com # N.B. Use a fully qualified name here
SDPort = @sd_port@
Password = "@sd_password@"
Device = FileStorage
@@ -196,7 +196,7 @@
#Storage {
# Name = DDS-4
# Do not use "localhost" here
-# Address = @hostname@ # N.B. Use a fully qualified name here
+# Address = storage.example.com # 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 +208,7 @@
#Storage {
# Name = "8mmDrive"
# Do not use "localhost" here
-# Address = @hostname@ # N.B. Use a fully qualified name here
+# Address = storage.example.com # N.B. Use a fully qualified name here
# SDPort = @sd_port@
# Password = "@sd_password@"
# Device = "Exabyte 8mm"
@@ -219,7 +219,7 @@
#Storage {
# Name = "DVD"
# Do not use "localhost" here
-# Address = @hostname@ # N.B. Use a fully qualified name here
+# Address = storage.example.com # N.B. Use a fully qualified name here
# SDPort = @sd_port@
# Password = "@sd_password@"
# Device = "DVD Writer"
diff -Naur bacula-5.2.2.old/src/qt-console/bat.conf.in bacula-5.2.2/src/qt-console/bat.conf.in
--- bacula-5.2.2.old/src/qt-console/bat.conf.in 2011-12-05 13:30:03.128113691 +0100
+++ bacula-5.2.2/src/qt-console/bat.conf.in 2011-12-05 13:39:38.359990302 +0100
@@ -5,6 +5,6 @@
Director {
Name = @basename@-dir
DIRport = @dir_port@
- address = @hostname@
+ address = director.example.com
Password = "@dir_password@"
}
diff -Naur bacula-5.2.2.old/src/stored/stored.conf.in bacula-5.2.2/src/stored/stored.conf.in
--- bacula-5.2.2.old/src/stored/stored.conf.in 2011-12-05 13:30:03.112113391 +0100
+++ bacula-5.2.2/src/stored/stored.conf.in 2011-12-05 13:40:04.777491664 +0100
@@ -8,7 +8,7 @@
#
Storage {
Name = "Storage daemon"
- Address = @hostname@
+ Address = storage.example.com
SDPort = @sd_port@ # Directors port
WorkingDirectory = "@working_dir@"
Pid Directory = "@piddir@"
diff -Naur bacula-5.2.2.old/src/tray-monitor/tray-monitor.conf.in bacula-5.2.2/src/tray-monitor/tray-monitor.conf.in
--- bacula-5.2.2.old/src/tray-monitor/tray-monitor.conf.in 2011-12-05 13:30:02.984110966 +0100
+++ bacula-5.2.2/src/tray-monitor/tray-monitor.conf.in 2011-12-05 13:39:13.096510765 +0100
@@ -10,20 +10,20 @@
Client {
Name = @basename@-fd
- Address = @hostname@
+ Address = client.example.com
FDPort = @fd_port@
Password = "@mon_fd_password@" # password for FileDaemon
}
Storage {
Name = @basename@-sd
- Address = @hostname@
+ Address = storage.example.com
SDPort = @sd_port@
Password = "@mon_sd_password@" # password for StorageDaemon
}
Director {
Name = @basename@-dir
- DIRport = @dir_port@
+ DIRport = director.example.com
address = @hostname@
}
diff -Naur bacula-5.2.2.old/src/wx-console/bwx-console.conf.in bacula-5.2.2/src/wx-console/bwx-console.conf.in
--- bacula-5.2.2.old/src/wx-console/bwx-console.conf.in 2011-12-05 13:30:03.090112973 +0100
+++ bacula-5.2.2/src/wx-console/bwx-console.conf.in 2011-12-05 13:40:37.193106792 +0100
@@ -5,6 +5,6 @@
Director {
Name = @basename@-dir
DIRport = @dir_port@
- address = @hostname@
+ address = director.example.com
Password = "@dir_password@"
}
diff -Naur bacula-5.2.2.old/src/console/bconsole.conf.in bacula-5.2.2/src/console/bconsole.conf.in
--- bacula-5.2.2.old/src/console/bconsole.conf.in 2011-12-07 18:16:49.956086547 +0100
+++ bacula-5.2.2/src/console/bconsole.conf.in 2011-12-07 18:17:15.458575195 +0100
@@ -5,6 +5,6 @@
Director {
Name = @basename@-dir
DIRport = @dir_port@
- address = @hostname@
+ address = director.example.com
Password = "@dir_password@"
}