waiting on Storage e Max Storage Jobs

886 views
Skip to first unread message

Rodrigo Ribeiro

unread,
Jul 8, 2015, 8:15:21 AM7/8/15
to bacula-ba...@googlegroups.com

Olá Pessoal, bom dia!

Instalei a pouco esse servidor e estou com esses problemas:

1) Mensagem "is waiting on Storage BackupINCDIF" e "is waiting on max Storage jobs"

2) No Job o volume está *unknown*.

Isso fica parado e termina não fazendo os backups...

Só tenho 3 servidores para backup nesse servidor (Full dá 100GB e INC 10GB) - Estão fazendo o backup no mesmo horário, pois é a janela que consegui. Tenho 2 HDs USB de 1TB, sendo um para Full e outro para Incremental / Diferencial.

Será que há algum erro? Acho que sim, na parte de volumes...

Outra dúvida é: Vale a pena compactar?

[root@bacula bacula]# ls -lha /bacula_inc_dif/bacula/backup_incdif/
total 42G
drwxrwxrwx 1 root root 256 Jul  4 16:13 .
drwxrwxrwx 1 root root 160 Jul  4 00:10 ..
-rwxrwxrwx 1 root root 12G Jul  6 03:11 backups_dif
-rwxrwxrwx 1 root root 30G Jul  7 03:19 backups_inc

[root@bacula bacula]# ls -lha /bacula_full/bacula/backup_full/
total 74G
drwxrwxrwx 1 root root 160 Jul  4 16:11 .
drwxrwxrwx 1 root root 248 Jul  3 15:27 ..
-rwxrwxrwx 1 root root 74G Jul  7 23:10 backups_full


Seguem algumas confs

Director {                            # define myself
  Name = bacula-dir
  DIRport = 9101
  QueryFile = "/usr/libexec/bacula/query.sql"
  WorkingDirectory = "/var/spool/bacula"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 20
  Password = "senha-dir"         # Console password
  Messages = Daemon
}

Job {
  Name = "UNA-dev-FULL"
  Type = Backup
  Level = Full
  Client = una-dev
  FileSet = "UNASUS-dev"         
  Schedule = "BackupFULL"      
  Storage = BackupFULL               
  Messages = Standard           
  Pool = BackupsFull                   
  Write Bootstrap = "/var/spool/bacula/%c.bsr"
  Client Run Before Job = "/etc/bacula/scripts/mysqldump.sh"
}

Job {
  Name = "UNA-dev-INCDIF"
  Type = Backup
  Level = Incremental
  Client = una-dev            
  FileSet = "UNASUS-dev"          
  Schedule = "BackupINCDIF"      
  Storage = BackupINCDIF                
  Messages = Standard           
  Pool = BackupsInc                   
  Write Bootstrap = "/var/spool/bacula/%c.bsr"
  Client Run Before Job = "/etc/bacula/scripts/mysqldump.sh"
}

Schedule {
  Name = BackupFULL
  Run = Level=Full Pool=BackupsFull 1st sun at 3:05
}


Schedule {
  Name = BackupINCDIF
  Run = Level=Differential Pool=BackupsDif mon at 3:05
  Run = Level=Incremental Pool=BackupsInc mon-sat at 3:05
}

Client {
  Name = una-dev
  Address = 192.168.1.x
  FDPort = 9102
  Catalog = MyCatalog
  Password = "client"
  File Retention = 60 days      
  Job Retention = 4 months
  AutoPrune = yes              
}

Storage {
  Name = BackupFULL
# Do not use "localhost" here
  Address = 192.168.0.Y                 # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "storage"
  Device = BackupFULL
  Media Type = File
}

Storage {
  Name = BackupINCDIF
# Do not use "localhost" here
  Address = 192.168.0.Y                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "storage"
  Device = BackupINCDIF
  Media Type = File
}

Pool {
  Name = BackupsFull
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 120 days
  Maximum Volume Bytes = 150G
  Maximum Volumes = 6               # Limit number of Volumes in Pool - 10 x 90G = 900G
}

Pool {
  Name = BackupsInc
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 150 days
  Maximum Volume Bytes = 30G
  Maximum Volumes = 10               # Limit number of Volumes in Pool - 10 x 90G = 900G
}

----
Storage {                             # definition of myself
  Name = hdext
  SDPort = 9103                  # Director's port
  WorkingDirectory = "/var/spool/bacula"
  Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 60
  SDAddress = 192.168.0.Y
}

Device {
  Name = BackupFULL
  Media Type = File
  Archive Device = /bacula_full/bacula/backup_full/
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

Device {
  Name = BackupINCDIF
  Media Type = File
  Archive Device = /bacula_inc_dif/bacula/backup_incdif/
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}




Job name   Run ID   Level   Current status   


Job name   Level   Type   Run at   Volume   
BackupCatalogFullBackup08-Jul-15 23:10backups_full
UNA-dev-INCDIFIncrementalBackup09-Jul-15 03:05*unknown*
UNA-arq-INCDIFIncrementalBackup09-Jul-15 03:05*unknown*
UNA-prod-INC-DIFIncrementalBackup09-Jul-15 03:05*unknown*





Abraços




Ana Emília M. Arruda

unread,
Jul 8, 2015, 10:15:12 AM7/8/15
to bacula-ba...@googlegroups.com
Oi Rodrigo,

Você deve configurar o maximum concurrent jobs nos dois devices (bacula-sd.conf) e na definição dos storages no bacula-dir.conf.

A questão da compactação vai depender de se você quer priorizar performance ou economia de espaço em disco. E também dos seus arquivos que entram no backup. As taxas de compressão vão depender muito dos tipos.

[]s
Ana
--
Você recebeu essa mensagem porque está inscrito no grupo "Bacula Backup-Pt-Br" dos Grupos do Google.
Para cancelar inscrição nesse grupo e parar de receber e-mails dele, envie um e-mail para bacula-backup-p...@googlegroups.com.
Para postar nesse grupo, envie um e-mail para bacula-ba...@googlegroups.com.
Acesse esse grupo em http://groups.google.com/group/bacula-backup-pt-br.
Para ver essa discussão na Web, acesse https://groups.google.com/d/msgid/bacula-backup-pt-br/d8a0171b-a745-4a9c-9a4c-65b4ceac903f%40googlegroups.com.
Para mais opções, acesse https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages