LINUX.ORG.RU
ФорумAdmin

bcula клиент на linux


0

1

необходимо востановить данные с бэк апа на линух машину 192.168.3.101-сервер бэкапа на бакуле (backup) 192.168.3.15-клиент (debiantest)

на сервере в bacula-dir.conf

создаю

Client {
  Name = debiantest-fd
  Address = 192.168.3.15
  FDPort = 9102
  Catalog = MyCatalog
  Password = "759123"         # password for FileDaemon 2
  File Retention = 2 months            # 30 days
  Job Retention = 2 months            # six months
  AutoPrune = yes                     # Prune expired Jobs/Files
}

ставлю на клиента bacula-fd и bacula-console-qt bacula-fd.conf

root@debiantest:/etc/bacula# cat bacula-fd.conf 
#
# Default  Bacula File Daemon Configuration file
#
#  For Bacula release 5.2.6 (21 February 2012) -- debian 7.0
#
# There is not much to change here except perhaps the
# File daemon Name to
#

#
# List Directors who are permitted to contact this File daemon
#
Director {
  Name = backup-dir
  Password = "759123"
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the file daemon
#
Director {
  Name = backup-mon
  Password = "xRvFL3Ablqto_bFmN6pBJZhLSK8B6hhIh"
  Monitor = yes
}

#
# "Global" File daemon configuration specifications
#
FileDaemon {                          # this is me
  Name = debiantest-fd
  FDport = 9102                  # where we listen for the director
  WorkingDirectory = /var/lib/bacula
  Pid Directory = /var/run/bacula
  Maximum Concurrent Jobs = 20
  FDAddress = 192.168.3.101
}

# Send all messages except skipped files back to Director
Messages {
  Name = Standard
  director = debiantest-dir = all, !skipped, !restored
}

bat.conf

root@debiantest:/etc/bacula# cat bat.conf 
#
# Bacula Administration Tool (bat) configuration file
#

Director {
  Name = backup-dir
  DIRport = 9101
  address = 192.168.3.101
  Password = "ne3pY6YN39K3V1RT5nwx5Y3W1WjmMRIDR"
}

запускаю bat на клиенте щелкаю по пунту klients вижу всех описание установленных клиентов , кроме debiantest, щелкаю по нему и выбираю status client получаю Failed to connect to Client debiantest-fd.

подскажите где ошибся ?

★★

Последнее исправление: drac753 (всего исправлений: 1)

Разобрался привожу победный bacula-fd.conf

root@debiantest:/etc/bacula# cat bacula-fd.conf 
#
# Default  Bacula File Daemon Configuration file
#
#  For Bacula release 5.2.6 (21 February 2012) -- debian 7.0
#
# There is not much to change here except perhaps the
# File daemon Name to
#

#
# List Directors who are permitted to contact this File daemon
#
Director {
  Name = backup-dir
  Password = "759123"
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the file daemon
#
Director {
  Name = backup-mon
  Password = "xRvFL3Ablqto_bFmN6pBJZhLSK8B6hhIh"
  Monitor = yes
}

#
# "Global" File daemon configuration specifications
#
FileDaemon {                          # this is me
  Name = backup-fd
  FDport = 9102                  # where we listen for the director
  WorkingDirectory = /var/lib/bacula
  Pid Directory = /var/run/bacula
  Maximum Concurrent Jobs = 20

}

# Send all messages except skipped files back to Director
Messages {
  Name = Standard
  director = backup-dir = all, !skipped, !restored
}

drac753 ★★
() автор топика
Ответ на: комментарий от drac753

Я только собрался написать, что FDAddress какой-то подозрительный

selivan ★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.