yeah you can do it with 1 SD, but you needs multiple devices one for each pool so when the consolidations happens it can read from one device and write to the other.
In my case I have one storage with multiple devices that can read both the AI-Incremental and AI-Consolidated pool. (I also have one for an LTO that jobs migrate to over time).
Eg in my sd.conf
Device {
Name = FileStorage
Media Type = File
Archive Device = /mnt/bacula
LabelMedia = yes; # lets Bareos label unlabeled media
Random Access = yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
Spool Directory = /mnt/spool/FileStorage
Maximum Job Spool Size = 80000000000
Maximum Spool Size = 160000000000
Maximum Concurrent Jobs = 1
}
Device {
Name = FileStorage2
Media Type = File
Archive Device = /mnt/bacula
LabelMedia = yes; # lets Bareos label unlabeled media
Random Access = yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
Spool Directory = /mnt/spool/server-vfull
Maximum Job Spool Size = 80000000000
Maximum Spool Size = 160000000000
Maximum Concurrent Jobs = 1
}
…..
but my Storage {} config in dir.conf has multiple devices
Storage {
Name = File
# Do not use "localhost" here
Address = <snip> # N.B. Use a fully qualified name here
Password = “<snip>"
Device = FileStorage
Device = FileStorage2
Device = FileStorage3
Device = FileStorage4
Device = FileStorage5
# number of devices = Maximum Concurrent Jobs
Maximum Concurrent Jobs = 5
Media Type = File
Heartbeat Interval = 60
}
So my on disk volumes can be managed by 5 ‘devices’ think of them as virutal tape drives. One can read from a volume, and one can write to the another.
Brock Palen
bro...@mlds-networks.com
www.mlds-networks.com
Websites, Linux, Hosting, Joomla, Consulting
> --
> You received this message because you are subscribed to the Google Groups "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
bareos-users...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/0555aac1-aa00-4842-abcd-cd2537c7f200n%40googlegroups.com.