Доброго времени суток. Люди, ну помогите, пожалуйста... Вторую неделю бодаю Bacula Ни в какую не пашет. Пишет, что не готовы хранилища и всё тут
Director { # define myself
Name = fileserver-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = «/etc/bacula/scripts/query.sql»
WorkingDirectory = «/var/lib/bacula»
PidDirectory = «/var/run/bacula»
Maximum Concurrent Jobs = 10
Password = «ksJPGGyR0edNqY4-8bq6YXvYIV532_I-c» # Console password
Messages = Daemon
DirAddress = localhost
}
Messages {
Name = Daemon
mailcommand = «/usr/sbin/bstmp -f \»\(Bacula\) \<%r\>\" -s \«Bacula daemon message\» %r
mail = root@fileserver.amoyroo.local = alert,error,fatal,terminate, !skipped
console = all, !skipped, !saved
append= «/var/lib/bacula/log» = alert,error,fatal.terminate, !skipped
}
Messages {
Name = Standard
mailcommand = «/usr/sbin/bstmp -f \»\(Bacula\) \<%r\>\" -s \«Bacula daemon message\» %r
mail = gav@mail.orb.ru = alert,error,fatal,terminate, !skipped
console = all, !skipped, !saved
append= «/var/lib/bacula/log» = alert,error,fatal.terminate, !skipped
}
Pool {
Name = bases
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 90 days
Maximum Volume Bytes = 1000G
Maximum Volumes = 3
Label Format = «LableName-${Year}_${Month}_${Day}»
}
Storage {
Name = STOR-1D
Password = «dhaD5QduRgkjuii5y9fuEyWSw2nnYI3N2»
Address = 192.168.0.55
SDPort = 9103
Device = STOR-1D
MediaType = File
}
Storage {
Name = STOR-2
Password = «dhaD5QduRgkjuii5y9fuEyWSw2nnYI3N2»
Address = 192.168.0.55
SDPort = 9103
Device = STOR-2
MediaType = File
}
Client {
Name = fileserver-fd
Address = 192.168.0.55
FDPort = 9102
Catalog = bacula
Password = «j2q1z9ZOozV0DeIUnAmvOASapiNsZRMTfXhLVBPwZfI6»
File Retention = 45 days
Job Retention = 90 days
Autoprune = yes
}
Client {
Name = 201-1-fd
Address = 192.168.0.2
FDPort = 9102
Catalog = bacula
Password = «NM/biNX/YEIRxOtSBmI3NeQYV5XI5wM9Hp0i/C63V1cw»
File Retention = 45 days
Job Retention = 90 days
Autoprune = yes
}
Job {
Name = «201-1-backup»
Type = Backup
Level = Incremental
Client = 201-1-fd
FileSet = «201-1-set»
Storage = STOR-1D
Pool = bases
Messages = Standard
Schedule = «DaylyFull201-1»
Write Bootstrap = «/backup/doki/moifiles.bsr»
}
Job {
Name = «fileserver-backup»
Type = Backup
Level = Incremental
Client = fileserver-fd
FileSet = «fileserver-set»
Storage = STOR-1D
Pool = bases
Messages = Daemon
Schedule = «DaylyFull201-1»
Write Bootstrap = «/mon/storage/bacula/moifiles.bsr»
}
FileSet {
Name = «201-1-set»
Include {
Options {
signature = MD5
compression = GZIP
recurse = yes
noatime = yes
hardlinks = yes
}
File = «d:/Doki/~Основная работа»
}
Exclude {
File = ".avi"
File = ".mp3"
File = ".jpg"
}
}
FileSet {
Name = «fileserver-set»
Include {
Options {
signature = MD5
compression = GZIP
recurse = yes
noatime = yes
hardlinks = yes
}
File = «/home/ARH-1-2-3»
}
Exclude {
File = ".avi"
File = ".mp3"
File = ".jpg"
}
}
Schedule {
Name = «DaylyFull201-1»
Run = Full sun-sat at 1:10
}
Catalog {
Name = «bacula»
dbname = «bacula»; DB Address = «localhost»; dbuser = «bacula»; dbpassword = «PaSSw0rd»
}
# @/etc/bacula/clients/test.domain.local.conf
Director {
Name = fileserver-dir
#Password = «ZCnCHPjrWw5V9f4s-LRrfvqtp_WNHmejR»
Password = «ksJPGGyR0edNqY4-8bq6YXvYIV532_I-c»
}
Director {
Name = fileserver-mon
Password = «aJyW9X8MmWV3H42ezVFPNwReQcZN4O7lI»
Monitor = yes
}
# «Global» File daemon configuration specifications
FileDaemon { # this is me
Name = fileserver-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.0.55
}
Messages {
Name = Standard
director = fileserver-dir = all, !skipped, !restored
}
Storage { # definition of myself
Name = fileserver-sd
SDPort = 9103 # Director's port
WorkingDirectory = «/var/lib/bacula»
Pid Directory = «/var/run/bacula»
Pid Directory = «/var/run»
Maximum Concurrent Jobs = 20
# SDAddress = fileserver.amoyroo.local
SDAddress = 0.0.0.0
# SDAddress = 192.168.0.55
}
Director {
Name = fileserver-dir
Password = «dhaD5QduRgkjuii5y9fuEyWSw2nnYI3N2»
}
Device {
Name = STOR-1D
MediaType = File
ArchiveDevice = «/mnt/storage/bacula»
LabelMedia = yes;
Random Access = yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = no;
}
Device {
Name = STOR-2
MediaType = File
ArchiveDevice = «/backup/doki»
LabelMedia = yes;
Random Access = yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = no;
}
Messages {
Name = Standard
director = fileserver-dir = all
}
Director {
Name = fileserver-mon
Password = «hAS2by5iz0rHxfGL-xiAiHLg4Op6FbJbQ»
Monitor = yes
}
Вот что даёт команда *show storage
Storage: name=STOR-1D address=192.168.0.55 SDport=9103 MaxJobs=1
DeviceName=STOR-1D MediaType=File StorageId=4
Storage: name=STOR-2 address=192.168.0.55 SDport=9103 MaxJobs=1
DeviceName=STOR-2 MediaType=File StorageId=5
А вот Status
Соединение с демоном Хранения STOR-1D в 192.168.0.55:9103
fileserver-sd Version: 5.2.6 (21 February 2012) x86_64-pc-linux-gnu ubuntu 14.04
Daemon started 24-Apr-15 17:28. Jobs: run=0, running=0.
Heap: heap=270,336 smbytes=24,939 max_bytes=90,999 bufs=65 max_bufs=71
Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0
Running Jobs:
No Jobs running.
====
Jobs waiting to reserve a drive:
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
===================================================================
1 Full 0 0 Error 20-Apr-15 16:11
BackupCatalog
2 Full 0 0 Error 20-Apr-15 23:05
BackupClient1
3 Full 0 0 Error 20-Apr-15 23:10
BackupCatalog
4 Full 0 0 Error 21-Apr-15 23:05
BackupClient1
5 Full 0 0 Error 21-Apr-15 23:10
BackupCatalog
8 Full 0 0 Error 24-Apr-15 01:10 201-1-backup
====
Device status:
Device «STOR-1D» (/mnt/storage/bacula) is not open.
====
Used Volume status:
====
====
You have messages.