Storage {}爲主控端定義了存儲端的屬性。至少存在一個存儲端。html
官方文檔見The Storage Resourcemysql
Name = namesql 指定Storage {}名稱,必選。數據庫 |
Address = address安全 指定存儲端的地址,能夠是IP或者計算機名,若是選擇計算機名,必須在/etc/hosts文件中加入解析條目,讓系統能解析到此計算機名。必選。app |
SD Port = portdom 指定存儲端的端口號,默認爲9103。ide |
Password = password測試 指定存儲端的密碼。出於安全緣由,最好設置複雜密碼,必選。字體 |
Device = device-name 指定存儲的設備。引用存儲端配置文件的Device{}的Name值,必選。 |
Media Type = MediaType 與存儲端配置文件的Device{}的Media Type值相同,必選。詳見官方文檔。 |
Autochanger = yesno 默認爲no,詳見官方文檔。 |
Maximum Concurrent Jobs = number 定義此存儲端所容許同時進行的任務最大數量,默認爲1。 |
AllowCompression = yesno 此存儲端是否容許壓縮,默認爲yes,此參數可選。若是爲no,那麼將忽略Fileset{}中Options{}的compression參數。 |
Heartbeat Interval = time-interval 默認爲0,可選。 |
範例
Storage {
Name = File
# Do not use "localhost" here
Address = ser1 # N.B. Use a fully qualified name here
SDPort = 9103
Password = "222"
Device = FileStorage
Media Type = File
}
Name = name |
指定Catalog{}名稱,必選。 |
password = password |
指定數據庫密碼 |
DB Name = name |
指定數據庫名稱 |
user = user |
指定數據庫用戶 |
DB Address = address |
指定數據庫地址 |
DB Port = port |
指定數據庫端口號 |
範例
Catalog {
Name = MyCatalog
# Uncomment the following line if you want the dbi driver
# dbdriver = "dbi:mysql"; dbaddress = 127.0.0.1; dbport =
dbname = "bacula"; dbuser = "bacula"; dbpassword = ""
}
Name = name |
指定Messages{}名稱,必選。 |
MailCommand = command |
設置發送郵件通知的指令 |
OperatorCommand = command |
默認值 |
範例
Messages {
Name = Standard
mailcommand = "/usr/local/bacula/bin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/local/bacula/bin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
mail = root@localhost = all, !skipped
operator = root@localhost = mount
console = all, !skipped, !saved
append = "/usr/local/bacula/working/log" = all, !skipped
catalog = all
}
Name = name |
指定Pool{}名稱,必選。 |
Pool Type = type |
指定Pool{}類型。 |
Storage = storage-resource-name |
引用Storage {}的Name值 |
AutoPrune = yesno |
是否自動修剪 |
Volume Retention = time-period-specification |
Volume保留時間,默認爲1年。 |
Recycle = yesno |
是否重複使用Volume |
範例
Pool {
Name = Default
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
}
此選項通常設置托盤監控相關參數
Name = name |
指定Console{}名稱,必選。 |
Password = password |
指定Console{}密碼,必選。 |
CommandACL = name-list |
默認值 |
範例
Console {
Name = ser1-mon
Password = "444"
CommandACL = status, .status
}
#
# Default Bacula Director Configuration file
#
# The only thing that MUST be changed is to add one or more
# file or directory names in the Include directive of the
# FileSet resource.
#
# For Bacula release 5.0.1 (24 February 2010) -- redhat
#
# You might also want to change the default email address
# from root to your address. See the "mail" and "operator"
# directives in the Messages resource.
#
Director { # define myself
Name = ser1-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "/usr/local/bacula/bin/query.sql"
WorkingDirectory = "/usr/local/bacula/working"
PidDirectory = "/usr/local/bacula/bin/working"
Maximum Concurrent Jobs = 1
Password = "111" # Console password
Messages = Daemon
}
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
Client = ser1-fd
FileSet = "Full Set"
Schedule = "WeeklyCycle"
Storage = File
Messages = Standard
Pool = File
Priority = 10
Write Bootstrap = "/usr/local/bacula/working/%c.bsr"
}
#
# Define the main nightly save backup job
# By default, this job will back up to disk in /tmp
Job {
Name = "BackupClient1"
JobDefs = "DefaultJob"
}
#Job {
# Name = "BackupClient2"
# Client = ser12-fd
# JobDefs = "DefaultJob"
#}
# Backup the catalog database (after the nightly save)
Job {
Name = "BackupCatalog"
JobDefs = "DefaultJob"
Level = Full
FileSet="Catalog"
Schedule = "WeeklyCycleAfterBackup"
# This creates an ASCII copy of the catalog
# Arguments to make_catalog_backup.pl are:
# make_catalog_backup.pl <catalog-name>
RunBeforeJob = "/usr/local/bacula/bin/make_catalog_backup.pl MyCatalog"
# This deletes the copy of the catalog
RunAfterJob = "/usr/local/bacula/bin/delete_catalog_backup"
Write Bootstrap = "/usr/local/bacula/working/%n.bsr"
Priority = 11 # run after main backup
}
#
# Standard Restore template, to be changed by Console program
# Only one such job is needed for all Jobs/Clients/Storage ...
#
Job {
Name = "RestoreFiles"
Type = Restore
Client=ser1-fd
FileSet="Full Set"
Storage = File
Pool = Default
Messages = Standard
Where = /tmp/bacula-restores
}
#localhost
Job {
Name = "ser1-backup"
Type = Backup
Level = Full
Client = ser1-fd
FileSet = "ser1-backup"
Messages = Standard
Pool = client-pool
Storage = File
Schedule = "OneDay"
Priority = 10
Write Bootstrap = "/usr/local/bacula/working/ser1-backup.bsr"
}
Job {
Name = "ser1-restore"
Type = Restore
Client = ser1-fd
FileSet = "ser1-backup"
Storage = File
Pool = client-pool
Messages = Standard
Where = /opt/restore
Bootstrap = "/usr/local/bacula/working/ser1-backup.bsr"
}
#redhat
Job {
Name = "redhat-backup"
Type = Backup
Level = Full
Client = redhat-fd
FileSet = "redhat-backup"
Messages = Standard
Pool = client-pool
Storage = File
Schedule = "OneDay"
Priority = 10
Write Bootstrap = "/usr/local/bacula/working/redhat-backup.bsr"
}
Job {
Name = "redhat-restore"
Type = Restore
Client = redhat-fd
FileSet = "redhat-backup"
Storage = File
Pool = client-pool
Messages = Standard
Where = /opt/restore
Bootstrap = "/usr/local/bacula/working/redhat-backup.bsr"
}
#sen-lenovo
Job {
Name = "sen-lenovo-backup"
Type = Backup
Level = Full
Client = sen-lenovo-fd
FileSet = "sen-lenovo-backup"
Messages = Standard
Pool = client-pool
Storage = File
Schedule = "OneDay"
Priority = 10
Write Bootstrap = "/usr/local/bacula/working/sen-lenovo-backup.bsr"
}
Job {
Name = "sen-lenovo-restore"
Type = Restore
Client = sen-lenovo-fd
FileSet = "sen-lenovo-backup"
Storage = File
Pool = client-pool
Messages = Standard
Where = /opt/restore
Bootstrap = "/usr/local/bacula/working/sen-lenovo-backup.bsr"
}
# List of files to be backed up
FileSet {
Name = "Full Set"
Include {
Options {
signature = MD5
}
File = /usr/local/bacula/bin
}
Exclude {
File = /usr/local/bacula/working
File = /tmp
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}
#
# When to do the backups, full backup on first sunday of the month,
# differential (i.e. incremental since full) every other sunday,
# and incremental backups other days
Schedule {
Name = "WeeklyCycle"
Run = Full 1st sun at 23:05
Run = Differential 2nd-5th sun at 23:05
Run = Incremental mon-sat at 23:05
}
# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
Name = "WeeklyCycleAfterBackup"
Run = Full sun-sat at 23:10
}
# one day
Schedule {
Name = "OneDay"
Run = Level=Full daily at 18:18
}
# This is the backup of the catalog
FileSet {
Name = "Catalog"
Include {
Options {
signature = MD5
}
File = "/usr/local/bacula/working/bacula.sql"
}
}
#localhost
FileSet {
Name = "ser1-backup"
Include {
Options {
compression=GZIP
}
File = /ser1
}
}
#redhat
FileSet {
Name = "redhat-backup"
Include {
Options {
compression=GZIP
}
File = /redhat
}
}
#sen-lenovo
FileSet {
Name = "sen-lenovo-backup"
Include {
Options {
compression=GZIP
}
File = c:/sen-lenovo/
}
}
# Client (File Services) to backup
#ser1
Client {
Name = ser1-fd
Address = ser1
FDPort = 9102
Catalog = MyCatalog
Password = "333" # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
#redhat
Client {
Name = redhat-fd
Address = redhat
FDPort = 9102
Catalog = MyCatalog
Password = "333" # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
#sen-lenovo
Client {
Name = sen-lenovo-fd
Address = sen-lenovo
FDPort = 9102
Catalog = MyCatalog
Password = "333" # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
# Definition of file storage device
Storage {
Name = File
# Do not use "localhost" here
Address = ser1 # N.B. Use a fully qualified name here
SDPort = 9103
Password = "222"
Device = FileStorage
Media Type = File
}
# Generic catalog service
Catalog {
Name = MyCatalog
dbname = "bacula"; dbuser = "bacula"; dbpassword = ""
}
# Reasonable message delivery -- send most everything to email address
# and to the console
Messages {
Name = Standard
mailcommand = "/usr/local/bacula/bin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/local/bacula/bin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
mail = root@localhost = all, !skipped
operator = root@localhost = mount
console = all, !skipped, !saved
append = "/usr/local/bacula/working/log" = all, !skipped
catalog = all
}
#
# Message delivery for daemon messages (no job).
Messages {
Name = Daemon
mailcommand = "/usr/local/bacula/bin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r"
mail = root@localhost = all, !skipped
console = all, !skipped, !saved
append = "/usr/local/bacula/working/log" = all, !skipped
}
# Default pool definition
Pool {
Name = Default
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
}
# File Pool definition
Pool {
Name = File
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
Maximum Volume Bytes = 50G # Limit Volume size to something reasonable
Maximum Volumes = 100 # Limit number of Volumes in Pool
}
# Scratch pool definition
Pool {
Name = Scratch
Pool Type = Backup
}
#client-pool
Pool {
Name = client-pool
Use Volume Once = yes
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
LabelFormat = "${Client}-storage-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-id${JobId}"
}
#
# Restricted console used by tray-monitor to get the status of the director
#
Console {
Name = ser1-mon
Password = "444"
CommandACL = status, .status
}
設置鏈接主控端
Name = name |
指定Director{}名稱,設置主控端配置文件中Director{}的Name值,必選。 |
Password = password |
指定主控端配置文件Storage{}的Password值,必選。 |
鏈接主控端設置範例
Director {
Name = ser1-dir
Password = "222"
}
托盤監控相關設置
Name = name |
指定Director{}名稱,設置托盤監控配置文件中Monitor{}的Name值,必選。 |
Password = password |
指定托盤監控配置文件中Storage{}的Password值,必選。 |
Monitor = yesno |
是否開啓監控。默認值no |
托盤監控相關設置範例
Director {
Name = ser1-mon
Password = "444"
Monitor = yes
}
Name = name |
指定Storage{}名稱,必選。 |
Working Directory = Directory |
指定工做目錄,目錄必須已經存在,必選。通常在./configure時已經指定。 |
Pid Directory = Directory |
指定進程ID文件存放目錄,必選。通常在./configure時已經指定。 |
SDAddresses = IP-address-specification |
指定地址和端口監聽主控端鏈接,詳細用法可查看官方文檔(Storage Resource)。 |
SDPort = port-number |
指定端口監聽主控端鏈接,默認是9103。不與SDAddresses參數同時使用。 |
SDAddress = IP-Address |
指定地址監聽主控端鏈接,可選。若是它被指定,那麼此地址將與存儲端綁定;若是未指定將綁定到本機當前使用的地址。只容許指定一個地址。不與SDAddresses參數同時使用。 |
Maximum Concurrent Jobs = number |
設置同時執行的最大任務數量,默認設置爲10。 |
Client Connect Wait = time-interval |
客戶端鏈接超時時間。默認爲30分鐘。 |
Heartbeat Interval = time-interval |
可選。 |
範例
Storage { # definition of myself
Name = ser1-sd
SDPort = 9103 # Director's port
WorkingDirectory = "/usr/local/bacula/working"
Pid Directory = "/usr/local/bacula/bin/working"
Maximum Concurrent Jobs = 20
}
Name = Device-Name |
指定Device{}的名稱,必選。 |
Archive Device = name-string |
指定存儲設備的路徑,可使磁帶驅動器,也能夠是一個目錄名,必選。 |
Device Type = type-specification |
指定該設備的類型。文件、磁帶或DVD。 |
Media Type = name-string |
默認值。 |
Autochanger = yesno |
是否自動更換設備,默認爲No。若是是yes,設備必須能自動更換磁帶。 |
Maximum Concurent Jobs = number |
設置最大Job鏈接數 |
Always Open = yesno |
設置設備是否始終保持可用。若是是磁帶強烈建議設置爲yes;若是是文件存儲,設置爲no,在須要時自動打開。 |
Removable media = yesno |
可移動媒體支持,默認爲no。 |
Random access = yesno |
是否隨機存取,默認爲yes。若是設備是usb的DVD及全部的文件系統則設置爲yes;若是是磁帶則爲no。 |
範例
Device {
Name = FileStorage
Media Type = File
Archive Device = /opt/backup
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
此選項再也不作介紹,與主控端配置文件的Messages{}的用法同樣,可供參考。
貼一下範例
Messages {
Name = Standard
director = ser1-dir = all
}
#
# Default Bacula Storage Daemon Configuration file
#
# For Bacula release 5.0.1 (24 February 2010) -- redhat
#
# You may need to change the name of your tape drive
# on the "Archive Device" directive in the Device
# resource. If you change the Name and/or the
# "Media Type" in the Device resource, please ensure
# that dird.conf has corresponding changes.
#
Storage { # definition of myself
Name = ser1-sd
SDPort = 9103 # Director's port
WorkingDirectory = "/usr/local/bacula/working"
Pid Directory = "/usr/local/bacula/bin/working"
Maximum Concurrent Jobs = 20
}
#
# List Directors who are permitted to contact Storage daemon
#
Director {
Name = ser1-dir
Password = "222"
}
Director {
Name = ser1-mon
Password = "444"
Monitor = yes
}
Device {
Name = FileStorage
Media Type = File
Archive Device = /opt/backup
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Messages {
Name = Standard
director = ser1-dir = all
}
設置鏈接主控端
Name = name |
指定Director{}名稱,設置主控端配置文件中Director{}的Name值,必選。 |
Password = password |
指定主控端配置文件Clinet{}的Password值,必選。 |
鏈接主控端設置範例
Director {
Name = ser1-dir
Password = "333"
}
托盤監控相關設置
Name = name |
指定Director{}名稱,設置托盤監控配置文件中Monitor{}的Name值,必選。 |
Password = password |
指定托盤監控配置文件中Client{}的Password值,必選。 |
Monitor = yesno |
是否開啓監控。默認值no |
托盤監控相關設置範例
Director {
Name = ser1-mon
Password = "444"
Monitor = yes
}
Name = name |
指定FileDaemon{}名稱,必選。 |
Working Directory = Directory |
指定工做目錄,目錄必須已經存在,必選。通常在./configure時已經指定。 |
Pid Directory = Directory |
指定進程ID文件存放目錄,必選。通常在./configure時已經指定。 |
Heartbeat Interval = time-interval |
可選。 |
Maximum Concurrent Jobs = number |
設置同時執行的最大任務數量,默認設置爲2。 |
FDAddresses = IP-address-specification |
指定地址和端口監聽主控端鏈接,詳細用法可查看官方文檔(Client/File daemon Configuration)。 |
FDPort = port-number |
指定端口監聽主控端鏈接,默認是9102。不與FDAddresses參數同時使用。 |
FDAddress = IP-Address |
指定地址監聽主控端鏈接,可選。若是它被指定,那麼此地址將與客戶端端綁定;若是未指定將綁定到本機當前使用的地址。只容許指定一個地址。不與FDAddresses參數同時使用。 |
FDSourceAddress = IP-Address |
指定地址監聽存儲端鏈接,可選。若是它被指定,那麼此地址將與客戶端端綁定;若是未指定將根據默認路由表。 |
SDConnectTimeout = time-interval |
指定鏈接到存儲端的超時時間,默認爲30分鐘。 |
範例
FileDaemon { # this is me
Name = ser1-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = /usr/local/bacula/working
Pid Directory = /usr/local/bacula/bin/working
Maximum Concurrent Jobs = 20
}
此選項再也不作介紹,與主控端配置文件的Messages{}的用法同樣,可供參考。
貼一下範例
Messages {
Name = Standard
director = ser1-dir = all, !skipped, !restored
}
#
# Default Bacula File Daemon Configuration file
#
# For Bacula release 5.0.1 (24 February 2010) -- redhat
#
# 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 = ser1-dir
Password = "333"
}
#
# Restricted Director, used by tray-monitor to get the
# status of the file daemon
#
Director {
Name = ser1-mon
Password = "444"
Monitor = yes
}
#
# "Global" File daemon configuration specifications
#
FileDaemon { # this is me
Name = ser1-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = /usr/local/bacula/working
Pid Directory = /usr/local/bacula/bin/working
Maximum Concurrent Jobs = 20
}
# Send all messages except skipped files back to Director
Messages {
Name = Standard
director = ser1-dir = all, !skipped, !restored
}
有配置文件中控制檯的配置文件是最簡單的。通常狀況下,除了更改密碼,其餘均不須要更改。它負責鏈接主控端。
Name = name |
指定主控端名稱。設置主控端配置文件中Director{}的Name值,必選。 |
DIRPort = port-number |
指定主控端端口號,默認爲9101。 |
Address = address |
指定主控端地址。能夠是IP或者計算機名,若是選擇計算機名,必須在/etc/hosts文件中加入解析條目,讓系統能解析到此計算機名。必選。 |
Password = password |
指定主控端密碼。設置主控端配置文件中Director{}的Password值,必選。 |
範例
Director {
Name = ser1-dir
DIRport = 9101
address = ser1
Password = "111"
}
若是你使用GNOME版本的控制檯,就可使用此選項定義窗口的字體。
可選,沒必要指定。
Name = name |
指定ConsoleFont{}名稱。必選 |
Font = Pango Font Name |
指定了Pango格式的字體,默認爲 Font = "LucidaTypewriter 9" |
範例
ConsoleFont {
Name = Default
Font = "Monospace 10"
}
能夠爲控制檯設置不一樣的安全級別。詳細可參考官方文檔(Console Configuration)。
可選,沒必要指定。
#
# Bacula User Agent (or Console) Configuration File
#
Director {
Name = ser1-dir
DIRport = 9101
address = ser1
Password = "111"
}
Name = name |
指定Monitor{}名稱。用於鏈接到主控端、存儲端及客戶端,必選。 |
Password = password |
設置與控制檯配置文件Console{}的Password值相同,必選。 |
Refresh Interval = time |
刷新間隔時間默認爲5秒,不能超過10分鐘,小於1秒。 |
Name = name |
指定Director{}名稱,此名稱顯示在監控進程的列表裏,必選。 |
DIRPort = port-number |
指定主控端端口號,默認9101。 |
Address = address |
指定主控端地址。能夠是IP或者計算機名,若是選擇計算機名,必須在/etc/hosts文件中加入解析條目,讓系統能解析到此計算機名。必選。 |
Name = name |
指定Storage{}名稱,此名稱顯示在監控進程的列表裏,必選。 |
Address = address |
指定存儲端地址。能夠是IP或者計算機名,若是選擇計算機名,必須在/etc/hosts文件中加入解析條目,讓系統能解析到此計算機名。必選。 |
SD Port = port |
指定存儲端端口號,默認9103。 |
Password = password |
指定存儲端監控端口號,必選。 |
Name = name |
指定Client{}名稱,此名稱顯示在監控進程的列表裏,必選。 |
Address = address |
指定客戶端地址。能夠是IP或者計算機名,若是選擇計算機名,必須在/etc/hosts文件中加入解析條目,讓系統能解析到此計算機名。必選。 |
FD Port = port-number |
指定存儲端端口號,默認9102。 |
Password = password |
指定客戶端監控端口號,必選。 |
#
# Bacula Tray Monitor Configuration File
#
Monitor {
Name = ser1-mon
Password = "444" # password for the Directors
RefreshInterval = 5 seconds
}
Client {
Name = ser1-fd
Address = ser1
FDPort = 9102
Password = "444" # password for FileDaemon
}
Storage {
Name = ser1-sd
Address = ser1
SDPort = 9103
Password = "444" # password for StorageDaemon
}
Director {
Name = ser1-dir
DIRport = 9101
address = ser1
}
爲了更好理解,下面貼一下主控端、存儲端及客戶端的配置文件範例
主控端配置文件關於監控相關設置
#
# Restricted console used by tray-monitor to get the status of the director
#
Console {
Name = ser1-mon
Password = "444"
CommandACL = status, .status
}
存儲端配置文件關於監控相關設置
Director {
Name = ser1-mon
Password = "444"
Monitor = yes
}
客戶端配置文件關於監控相關設置
#
# Restricted Director, used by tray-monitor to get the
# status of the file daemon
#
Director {
Name = ser1-mon
Password = "444"
Monitor = yes
}
6. 啓動Bacula
啓動Bacula服務以前,能夠先測試一下對應的配置文件是否有錯誤,以下
# cd /usr/local/bacula/bin
# ./bacula-dir -t -c bacula-dir.conf
#./bacula-fd -t -c bacula-fd.conf
#./bacula-sd -t -c bacula-sd.conf
#./bconsole -t -c bconsole.conf
#./bwx-console -t -c bwx-console.conf
#./bat -t -c bat.conf
# su <normal user> -c "./bacula-tray-monitor -t -c tray-monitor.conf"
啓動主控端服務
# /etc/init.d/bacula-dir start
啓動客戶端服務。Windows Bacula客戶端服務名稱Bacula-fd(Bacula File Service)
# /etc/init.d/bacula-fd start
啓動存儲端服務
# /etc/init.d/bacula-sd start
一步啓動|關閉|重啓|狀態Bacula三個服務
# /usr/local/bacula/bin/bacula start|stop|restart|status
查看Bacula是否處於監聽狀態
# netstat –an |grep 910
bacula-dir 9101
bacula-fd 9102
bacula-sd 9103