Bacula, Restore ОК, но нету фаилов с клиентов!
Здрасти, Centos7 and Bacula 7.0.5. Система настроена и сохраняет определённе папки с сервера, он же клиент1, есть клиента2, клиент3. Сохраняется всё корректно с всех клиентов, а вот востанавлиается только клиент1. То есть после востоновления видны фаилики в указонои папке. Проблема с востоновлением остальных клиентов, так как лог показывет, 4то всё востоnoвил, но в у указаннои папке фаиликов нету. Может кто сталкивался с подобнои проблемои??
Так как структура немного бол6ая выложил на диск https://drive.google.com/folderview?id=0B9thKY3Y0CUrY1lYQlY4TjMxYUk&usp=sharing
===Bacula-dir.conf===
Director { # define myself
Name = bacula-dir
DIRport = 9101
QueryFile = «/etc/bacula/query.sql»
WorkingDirectory = /var/spool/bacula
PidDirectory = «/var/run»
Maximum Concurrent Jobs = 1
Password = «pass2» # Console password
Messages = Daemon
DirAddress = 192.168.226.208
}
# Message delivery for daemon messages (no job).
Messages {
Name = Daemon
mailcommand = «/usr/sbin/bsmtp -h localhost -f \»\(Bacula\) \<%r\>\" -s \«Bacula daemon message\» %r"
mail = konstantins.krjukovs@rs.lv = all, !skipped console = all, !skipped, !saved
append = «/var/log/bacula/bacula.log» = all, !skipped
}
Console {
Name = bacula-mon
Password = «pass2» CommandACL = status, .status
}
Messages {
Name = Standard
mailcommand = «/usr/sbin/bsmtp -h localhost -f \»\(Bacula\) \<%r\>\" -s \«Bacula: %t %e of %c %l\» %r"
operatorcommand = «/usr/sbin/bsmtp -h localhost -f \»\(Bacula\) \<%r\>\" -s \«Bacula: Intervention needed for %j\» %r"
mail = root = all, !skipped
operator = root = mount
console = all, !skipped, !saved
append = «/var/log/bacula/bacula.log» = all, !skipped
catalog = all }
Catalog {
Name = MyCatalog dbname = «bacula»; dbuser = «bacula»; dbpassword = «Bacula123456»
}
# cat bacula-dir.conf |grep client
#@/usr/local/etc/client_schedule.conf
@/etc/bacula/client-dir-client1.conf
@/etc/bacula/client-dir-client2.conf
@/etc/bacula/client-dir-client3.conf
===client-dir-client1.conf===
# Client (File Services) to backup
Client {
Name = client1-fd
Address = 192.168.226.208
FDPort = 9102
Catalog = MyCatalog
Password = «pass1»
File Retention = 30 days
Job Retention = 2 months
AutoPrune = yes }
# Definition of file storage device
Storage {
Name = File-client1
Address = 192.168.226.208 # N.B. Use a fully qualified name here
SDPort = 9103
Password = «pass2»
Device = FileStorage-client1
Media Type = File }
Schedule {
Name = «WeeklyCycle-client1»
Run = Full 1st sun at 23:05
Run = Differential 2nd-5th sun at 23:05
Run = Incremental mon-sat at 23:05 }
Pool { Name = client1-pool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 30 days
Maximum Volume Bytes = 5G Maximum Volumes = 5 # Limit number of Volumes in Pool LabelFormat = «client1-»
}
# List of files to be backed up
FileSet {
Name = «client1-fileset»
Include {
Options {
compression = GZIP
signature = MD5 }
File = /tmp
}
Exclude {
File = /tmp/test.txt
}
}
# Backup the catalog database (after the nightly save)
Job {
Name = Backup-client1
Type = Backup
Level = Full
Client = client1-fd
FileSet = client1-fileset
Schedule = WeeklyCycle-client1
Messages = Standard
Storage = File-client1
Write Bootstrap = «/var/spool/bacula/%n.bsr»
Priority = 10
Pool = client1-pool
}
# Restore
Job {
Name = Restore-client1
Type = Restore
Client = client1-fd
FileSet = «client1-fileset»
Storage = File-client1
Pool = client1-pool
Messages = Standard
Where = /home/bacula/restore/client1/
}
По аналогии зделаны 2 и 3 клиент.