Возникла у меня проблема с настройкой бекап-сервера bacula.
Запускаю bconsole. Ввожу label, создаю том test.
Запускаю задание run Research-Full.
Вывод status dir:
Код: Выделить всё
Scheduled Jobs:
Level Type Pri Scheduled Name Volume
===================================================================================
Incremental Backup 10 14-Apr-09 01:00 Research-Full test
Incremental Backup 10 14-Apr-09 01:00 Research-Increment test
====
Running Jobs:
JobId Level Name Status
======================================================================
63 Full Research-Full.2009-04-13_10.30.02.05 is running
Надо чтоб он весь архив ложил в один файл (там порядка 300 гигов).
Вывод status dir:
Код: Выделить всё
Running Jobs:
JobId Level Name Status
======================================================================
64 Full Research-Full.2009-04-13_10.38.26.04 is waiting for an appendable Volume
====
bacula-dir.conf
Код: Выделить всё
#
# Bacula Director Configuration file
#
#
Director {
Name = admin
DIRport = 9101
QueryFile = "/usr/local/share/bacula/query.sql"
WorkingDirectory = "/var/db/bacula"
PidDirectory = "/var/run"
Maximum Concurrent Jobs = 1
Password = "secret"
Messages = Daemon
}
Console {
Name = admin-mon
Password = "secret"
}
Job {
Name = "RestoreFiles"
Type = Restore
Client = user
FileSet="research-set"
Storage = backup-storage
Pool = research-pool
Messages = Daemon
Where = "d:/!Backup!"
}
Job {
Name = "Research-Full"
Type = Backup
Level = Full #Incremental
Client = user
FileSet = "research-set"
Schedule = "WeeklyCycle-1hrs-sun"
Storage = backup-storage
Messages = Daemon
Pool = research-pool
Priority = 10
Write Bootstrap = "/var/db/bacula/research-full-job.bsr"
}
Job {
Name = "Research-Increment"
Type = Backup
Level = Incremental
Client = user
FileSet = "research-set"
Schedule = "WeeklyCycle-1hrs-sun"
Storage = backup-storage
Messages = Daemon
Pool = research-pool
Priority = 10
}
FileSet {
Name = "research-set"
Include {
Options {
signature = MD5
compression = GZIP
}
File = "e:/Researches"
}
}
Pool {
Name = research-pool
Pool Type = Backup
Volume Use Duration = 6 days 13 hours
Recycle = yes
AutoPrune = yes
Volume Retention = 365 days
}
Client {
Name = user
Address = 192.168.2.5
FDPort = 9102
Catalog = "default"
Password = "38541"
File Retention = 365 days
Job Retention = 3 months
AutoPrune = yes
}
Storage {
Name = backup-storage
Address = 192.168.2.210
SDPort = 9103
Password = "secret"
Device = backup-device
Media Type = File
}
Schedule {
Name = "WeeklyCycle-1hrs-sun"
Run = Full 1st sun at 1:00
Run = Differential 2nd-5th sun at 1:00
Run = Incremental mon-sat at 1:00
}
Catalog {
Name = default
dbname = "bacula"; dbuser = "root"; dbpassword = "secret"
}
Messages {
Name = Daemon
syslog = all
}
Pool {
Name = Scratch
Pool Type = Backup
}
Код: Выделить всё
Storage {
Name = backup-storage
SDPort = 9103
WorkingDirectory = "/var/db/bacula"
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 20
SDAddress = 192.168.2.210
Heartbeat Interval = 30 sec
}
Director {
Name = admin
Password = "secret"
# Monitor = yes
}
Device {
Name = backup-device
Media Type = File
Archive Device = /data/backup
LabelMedia = yes
Random Access = Yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
}
Messages {
Name = Standard
director = admin = all
}
Код: Выделить всё
Director {
Name = admin
Password = "secret"
}
FileDaemon {
Name = research-pool
FDport = 9102
WorkingDirectory = /var/db/bacula
Pid Directory = /var/run/
Maximum Concurrent Jobs = 1
FDAddress = 192.168.2.5
}
Messages {
Name = Standard
director = admin = all, !skipped, !restored
}