GustavinhoO
(usa Debian)
Enviado em 26/12/2011 - 18:04h
estou com um problema no meu bacula segue o bacula-dir.conf
Director { # define myself
Name = ubuntu-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/query.sql"
WorkingDirectory = "/var/bacula/working"
PidDirectory = "/var/run"
Maximum Concurrent Jobs = 2
Password = "w3d2011@shr" # Console password
Messages = Mensagens
}
Catalog {
Name = MyCatalog
dbname = bacula; user = root; password = "4050pedro"
}
Client {
Name = Linux_Client_ubuntu
Address = 10.0.0.103
FDPort = 9102
Catalog = MyCatalog
Password = "w3d2011@shr"
File Retention = 30 days
Job Retention = 30 days
AutoPrune = yes
}
###### POOL Linux ######
Pool {
Name = Default
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 1d # one year
}
Pool {
Name = SegundaPoolubuntu
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 6d # o volume poderáer utilizado novamente
Maximum Volume Jobs = 10
Maximum Volumes = 10
Label Format = "Segunda_Linux_ubuntu"
}
Pool {
Name = TercaPoolubuntu
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 6d # o volume poderáer utilizado novamente
Maximum Volume Jobs = 10
Maximum Volumes = 10
Label Format = "Terca_Linux_ubuntu"
}
Pool {
Name = QuartaPoolubuntu
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 6d # o volume poderáer utilizado novamente
Maximum Volume Jobs = 10
Maximum Volumes = 10
Label Format = "Quarta_Linux_ubuntu"
}
Pool {
Name = QuintaPoolubuntu
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 6d # o volume poderáer utilizado novamente
Maximum Volume Jobs = 10
Maximum Volumes = 10
Label Format = "Quinta_Linux_ubuntu"
}
Pool {
Name = SextaPoolubuntu
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 6d # o volume poderáer utilizado novamente
Maximum Volume Jobs = 10
Maximum Volumes = 10
Label Format = "Sexta_Linux_ubuntu"
}
############### Fim do POOL ##################
Schedule {
Name = "Diario_Correio"
Run = Level=Full Pool=SegundaPoolubuntu Monday at 10:00pm
Run = Level=Full Pool=TercaPoolubuntu Tuesday at 10:00pm
Run = Level=Full Pool=QuartaPoolubuntu Wednesday at 10:00pm
Run = Level=Full Pool=QuintaPoolubuntu Thursday at 10:00pm
Run = Level=Full Pool=SextaPoolubuntu Friday at 10:00pm
}
FileSet {
Name = "Linux_File_ubuntu"
Include {
Options {
signature = MD5
IgnoreCase = yes
wildfile = "*.tmp"
Exclude = yes
}
File = /etc/bacula
}
}
Storage {
Name = FileStorage
Device = FileStorage
Address = 10.0.0.103
SDPort = 9103
Password = "w3d2011@shr"
Media Type = File
}
Job {
Name = Linux_ubuntu
Enabled = Yes
Level = Incremental
Type = Backup
Client = Linux_Client_ubuntu
FileSet = Linux_File_ubuntu
Storage = FileStorage
Schedule = "Diario_Correio"
Pool = Default
Messages = Mensagens
Priority = 10
Write Bootstrap = "/var/bacula/working/Linux_ubuntu.bsr"
}
Job {
Name = Restore_Linux_ubuntu
Type = Restore
Client = Linux_Client_ubuntu
FileSet = Linux_File_ubuntu
Storage = FileStorage
Messages = Mensagens
Pool = Default
Where = /tmp/bacula-restores
}
Messages {
Name = Mensagens
# Envia todas as mensagens geradas pelo Bacula para o arquivo
#/var/log/bacula.log
syslog = all, !skipped, !saved
}
segue o meu erro:
Enter a period to cancel a command.
*run
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
A job name must be specified.
The defined Job resources are:
1: Linux_ubuntu
2: Restore_Linux_ubuntu
Select Job resource (1-2): 1
Run Backup job
JobName: Linux_ubuntu
Level: Incremental
Client: Linux_Client_ubuntu
FileSet: Linux_File_ubuntu
Pool: Default (From Job resource)
Storage: FileStorage (From Job resource)
When: 2011-12-26 12:02:05
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=5
*
nao sai disso, estou esquecendo de algo ou tem algo errado?
ajuda ae galera!