Hi,
you could try to set
Pool = Tape1
in your JobDefs.
Then check if it overrides the storage from the Full Backup Pool definition
when you run a Full Job.
If that doesn't help, you can explicitly specify the storage when running
a job, for example
run job=tape_job level=Differential storage=Tape1
Regards,
Stephan
On 04/21/2017 02:34 PM, Kapetanakis Giannis wrote:
> On 07/04/17 18:26, Kapetanakis Giannis wrote:
>> Hi,
>>
>> I have the following problem. I have 2 tapes on my storage server (Tape0,
>> Tape1), with no auto-changer.
>>
>> I'm thinking that the best way to use both of them is to schedule Full
>> backups on Tape0 and Diff/Incr backups on Tape1.
>>
>> I've setup Storage Tape0/Tape1 on director (sd on same machine with Device
>> Tape0/Tape1).
>> I've also setup Pool Tape0/Tape like this:
>>
>> Pool {
>> Name = Tape0
>> Storage = Tape0
>> Pool Type = Backup
>> Recycle = yes
>> AutoPrune = yes
>> Volume Retention = 3y # recycle in 3 years
>> LabelFormat = "Tape0-"
>> }
>>
>> JobDefs {
>> Name = "Tape_DefaultJob"
>> Type = Backup
>> Level = Incremental
>> Client = client-fd
>> FileSet = "Full Set"
>> Schedule = "Tape_Schedule"
>> Messages = Standard
>> Pool = Tape0
>> Priority = 13
>> Write Bootstrap = "/var/lib/bareos/%c-tape.bsr"
>> Full Backup Pool = Tape0
>> Differential Backup Pool = Tape1
>> Incremental Backup Pool = Tape1
>> }
>>
>> The problem is coming with Storage.
>> Although I've overridden the pool for each type of backup, the job gets the
>> storage from the default Pool -> Tape0
>>
>> *run job=tape_job level=Differential
>> Run Backup job
>> JobName: tape_job
>> Level: Differential
>> Client: client-fd
>> Format: Native
>> FileSet: Full Set
>> Pool: Tape1 (From Job DiffPool override)
>> Storage: Tape0 (From Pool resource)
>> When: 2017-04-07 18:19:14
>> Priority: 13
>>
>> As you see above it gets the correct Pool (Tape1) but wrong Storage.
>> I've tried to add Pool, Storage on the Schedule without any difference.
>>
>> Any recommendations on fixing this?
>>
>> Any better way to make use of both drives?
>>
>> thanks
>>
>> Giannis
>>
>
>
> Hi,
>
> Any luck with this? Is it a bug or some kind of misconfiguration not obvious
> to me?
>
> thanks,
>
> G
>
--
Stephan Dühr [email protected]
Bareos GmbH & Co. KG Phone: +49 221-630693-90
http://www.bareos.com
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz
--
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.