Rodando jobs simultaneos no Bacula

1. Rodando jobs simultaneos no Bacula

Raul Martins
byraulzito

(usa Debian)

Enviado em 21/06/2013 - 21:51h

Boa noite pessoal!!!

Gostaria de saber se alguém sabe como configurar o Bacula para realizar backups simultâneos, estou criando um servidor de backup para agregar nos contratos de prestação de serviço, já li alguns tutos, mas não consegui fazer funcionar!!

Um dos principais testes foi:

- criar POOL|JOB|STORAGE DEVICES para cada cliente.

OBS: sempre usando um único servidor.

Configuração Base:

OS: CentOS 6.4 i386

Bacula com MySql

HD de 2TB

Agradeço desde já!


  


2. Re: Rodando jobs simultaneos no Bacula

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 21/06/2013 - 22:00h

poste ai o seu bacula-sd


3. Re: Rodando jobs simultaneos no Bacula

Raul Martins
byraulzito

(usa Debian)

Enviado em 22/06/2013 - 08:41h

danniel-lara escreveu:

poste ai o seu bacula-sd


Segue:

#
# Default Bacula Storage Daemon Configuration file
#
# For Bacula release 5.0.0 (26 January 2010) -- redhat
#
# You may need to change the name of your tape drive
# on the "Archive Device" directive in the Device
# resource. If you change the Name and/or the
# "Media Type" in the Device resource, please ensure
# that dird.conf has corresponding changes.
#

Storage { # definition of myself
Name = centos-b-director-sd
SDport = 9103
WorkingDirectory = /var/spool/bacula
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 4
}

#
# List Directors who are permitted to contact Storage daemon
#
Director {
Name = centos-b-director-dir
Password = "senha"
}

#
# Restricted Director, used by tray-monitor to get the
# status of the storage daemon
#
Director {
Name = centos-b-director-mon
Password = "senha"
Monitor = yes
}


Device {
Name = FileStorage
Media Type = File
Archive Device = /mnt/backup
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
}
Device {
Name = acastrosrv-sd
Archive Device = /mnt/backup/acastro
Media Type = File-AC
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
}
Device {
Name = uempar-srvboss-sd
Archive Device = /mnt/backup/uem
Media Type = File-UEM
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
}
Device {
Name = endosrv-sd
Archive Device = /mnt/backup/endo
Media Type = File-ENDO
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
}


Atenciosamente...


4. Re: Rodando jobs simultaneos no Bacula

Raul Martins
byraulzito

(usa Debian)

Enviado em 22/06/2013 - 08:52h

Também ele da o erro a seguir:

Starting backup job acastrosrv-job ..

Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
A job name must be specified.
The defined Job resources are:
1: BackupDirector
2: BackupCatalog
3: RestoreFiles
4: acastrosrv-job
5: endosrv-job
6: uempar-srvboss-job
7: uemcf-srvboss-job
Select Job resource (1-7): 4
Run Backup job
JobName: acastrosrv-job
Level: Incremental
Client: acastrosrv-fd
FileSet: acastrosrv-fs
Pool: acastrosrv-pool (From Job resource)
Storage: acastrosrv-sd (From Job resource)
When: 2013-06-22 08:49:53
Priority: 10
OK to run? (yes/mod/no):

.. the backup job is now running. When complete, the results will be shown below ..

22-Jun 08:49 centos-b-director-dir JobId 28: Start Backup JobId 28, Job=acastrosrv-job.2013-06-22_08.49.53_42
22-Jun 08:49 centos-b-director-sd JobId 28: Fatal error: Device reservation failed for JobId=28:
22-Jun 08:49 centos-b-director-dir JobId 28: Fatal error:
Storage daemon didn't accept Device "acastrosrv-sd" because:
3924 Device "acastrosrv-sd" not in SD Device resources.
22-Jun 08:49 centos-b-director-dir JobId 28: Error: Bacula centos-b-director-dir 5.0.0 (26Jan10): 22-Jun-2013 08:49:56
Build OS: i386-redhat-linux-gnu redhat
JobId: 28
Job: acastrosrv-job.2013-06-22_08.49.53_42
Backup Level: Incremental, since=2013-06-21 18:07:53
Client: "acastrosrv-fd" 5.2.10 (28Jun12) Microsoft Windows Server 2008 Enterprise Edition Service Pack 2 (build 6002), 64-bit,Cross-compile,Win64
FileSet: "acastrosrv-fs" 2013-06-19 22:30:11
Pool: "acastrosrv-pool" (From Job resource)
Catalog: "MyCatalog" (From Client resource)
Storage: "acastrosrv-sd" (From Job resource)
Scheduled time: 22-Jun-2013 08:49:53
Start time: 22-Jun-2013 08:49:55
End time: 22-Jun-2013 08:49:56
Elapsed time: 1 sec
Priority: 10
FD Files Written: 0
SD Files Written: 0
FD Bytes Written: 0 (0 B)
SD Bytes Written: 0 (0 B)
Rate: 0.0 KB/s
Software Compression: None
VSS: no
Encryption: no
Accurate: no
Volume name(s):
Volume Session Id: 2
Volume Session Time: 1371900650
Last Volume Bytes: 0 (0 B)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status:
SD termination status:
Termination: *** Backup Error ***

Atenciosamente ...






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts