luizstevanatto
(usa CentOS)
Enviado em 06/09/2016 - 14:47h
Boa tarde,
Segue algumas configurações.
SERVIDOR CENTOS
Agendamentos:
Schedule {
Name = "Agendamento_Sistema"
Run = Level=Full Pool=FULL-Sistema sun-sat at 11:00pm
}
Configuração do servidor:
Client {
Name = srv-sistema-fd
Address = 10.1.1.55
FDPort = 9102
Catalog = MyCatalog
Password = "BKP.altatech" # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/File
}
Storage {
Name = STG_Sistema
Address = 10.1.1.50 # N.B. Use a fully qualified name here
SDPort = 9103
Password = "BKP.altatech"
Device = DEV_SISTEMA
Media Type = File
}
FileSet {
Name = "FileSet_Sistema"
Include {
Options {
signature=MD5
Drive Type = fixed
IgnoreCase = yes
Compression = GZIP
}
File = "/dados/"
}
}
Pool {
Name = FULL-Sistema
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 4d
Maximum Volume Bytes = 400G
Maximum Volume Jobs = 1
LabelFormat = "FULL-Vol-"
Storage = STG_Sistema
}
Job {
Name = "Sistema - Backup"
Type = Backup
Client = srv-sistema-fd
Level = Full
FileSet = "FileSet_Sistema"
Storage = STG_Sistema
Messages = Standard
Schedule = "Agendamento_Sistema"
Pool = FULL-Sistema
}
SERVIDOR UBUNTU
Bacula-fd.conf
#
# Default Bacula File Daemon Configuration file
#
# For Bacula release 7.0.5 (28 July 2014) -- ubuntu 16.04
#
# 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 = srv-backup.localdomain-dir
Password = "BKP.altatech"
}
#
# Restricted Director, used by tray-monitor to get the
# status of the file daemon
#
Director {
Name = srv-sistema-01-mon
Password = "BKP.altatech"
Monitor = yes
}
#
# "Global" File daemon configuration specifications
#
FileDaemon { # this is me
Name = srv-sistema-01-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = /var/lib/bacula
Pid Directory = /var/run/bacula
Maximum Concurrent Jobs = 20
# Plugin Directory = /usr/lib/bacula
FDAddress = srv-sistema-01
}
# Send all messages except skipped files back to Director
Messages {
Name = Standard
director = srv-backup.localdomain-dir = all, !skipped, !restored
}
O servidor e client comunicam normalmente. Só a questão de copiar os arquivos que ele não consegue trazer para o servidor. Ai no webacula ele me da que foi realizado o backup com sucesso porem 0 arquivos copiados.. Sendo que a pasta esta com vários arquivos.. É muito estranho.