> On Oct 23, 2015, at 4:56 AM, Andrey Tataranovich <tataranovich AT gmail DOT
> com> wrote:
>
> Hello,
>
> I'm trying to setup bacula to run multiple jobs in parallel. For
> example to run restore while backup running. For backup storage I'm
> using RAID. My backup storage mounted at /bacula/backup
>
> Please review my bacula configuration:
>
> -> bacula-sd.conf
>
> Autochanger {
> Name = FileChanger
> Changer Device = /dev/null
> Changer Command = ""
> Device = FileStorage00
> Device = FileStorage01
> Device = FileStorage02
> Device = FileStorage03
> }
>
> Device {
> Name = FileStorage00
> Media Type = File
> Archive Device = /bacula/backup
> LabelMedia = yes;
> Random Access = Yes;
> AutomaticMount = yes;
> RemovableMedia = no;
> AlwaysOpen = no;
> Autochanger = yes
> Drive Index = 0
> }
>
> ....
>
> Device {
> Name = FileStorage03
> Media Type = File
> Archive Device = /bacula/backup
> LabelMedia = yes;
> Random Access = Yes;
> AutomaticMount = yes;
> RemovableMedia = no;
> AlwaysOpen = no;
> Autochanger = yes
> Drive Index = 3
> }
>
>
> -> bacula-dir.conf
>
> Storage {
> Name = File
> Device = FileChanger
> Autochanger = yes
> Media Type = File
> ...
> }
>
> Pool {
> Name = PoolFull
> Pool Type = Backup
> Recycle = yes
> AutoPrune = yes
> Volume Retention = 365 days
> Maximum Volume Bytes = 50G
> Maximum Volumes = 100
> Maximum Volume Jobs = 1
> Label Format = "Full-"
> File Retention = 1 week
> Job Retention = 1 year
> Storage = File
> }
>
> Jobs seems running in parallel. Can you told me if such setup is OK?
I am using the following, which seems similar to yours, but I have not checked
carefully.
from bacula-dir.conf:
# Definiton of file storage device
Storage {
Name = CreyFile
Address = crey.int.unixathome.org # N.B. Use a fully
qualified name here
SDPort = 9103
Password = "Yes, this really is my password"
AutoChanger = Yes
Device = VirtualDisk
Media Type = File
Maximum Concurrent Jobs = 7
}
from bacula-sd.conf:
Device {
Name = Restore-Drive
Media Type = File
Archive Device = /usr/local/bacula/volumes
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
Maximum Concurrent Jobs = 2
Volume Poll Interval = 15
}
Autochanger {
Name = VirtualDisk
Changer Device = /dev/null
Changer Command = /dev/null
Device = vDrive-0, vDrive-1, vDrive-2, vDrive-3, vDrive-4
}
Device {
Name = vDrive-0
Media Type = File
Archive Device = /usr/local/bacula/volumes
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
Autochanger = yes
Drive Index = 0
Maximum Concurrent Jobs = 1
Volume Poll Interval = 15
}
Device {
Name = vDrive-1
Media Type = File
Archive Device = /usr/local/bacula/volumes
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
Autochanger = yes
Drive Index = 1
Maximum Concurrent Jobs = 1
Volume Poll Interval = 15
}
Device {
Name = vDrive-2
Media Type = File
Archive Device = /usr/local/bacula/volumes
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
Autochanger = yes
Drive Index = 2
Maximum Concurrent Jobs = 1
Volume Poll Interval = 15
}
Device {
Name = vDrive-3
Media Type = File
Archive Device = /usr/local/bacula/volumes
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
Autochanger = yes
Drive Index = 3
Maximum Concurrent Jobs = 1
Volume Poll Interval = 15
}
Device {
Name = vDrive-4
Media Type = File
Archive Device = /usr/local/bacula/volumes
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
Autochanger = yes
Drive Index = 4
Maximum Concurrent Jobs = 25
Volume Poll Interval = 15
}
—
Dan Langille
http://langille.org/
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|