Hi Andrew, hi Phil,

I have had a similar problem with making a backup spanning mutiple drives (no 
autochanger, so I need to change the tapes by hand). I Have set "some" options 
to circumvent it. I didn't do to much research, which one was the critical one, 
but maybe that might help you out:

my configuration for the LTO-storage looks like this:

Device {
  Name = LTO-5
  Archive Device = /dev/nst0
  Device Type = Tape
  Media Type = LTO-5
  LabelMedia = yes
  Random Access = no
  AutomaticMount = yes
  RemovableMedia = yes
  AlwaysOpen = yes
  Maximum Concurrent Jobs = 1
  LabelMedia = yes
  Maximum File Size = 400G
  Maximum Changer Wait = 2h
  Volume Poll Interval = 0
}

In the job-definitions (bacula-dir.conf), I added the option "Max Wait Time":

Job {
  Name = "XYZ LTO-5"
  Client = XXX
  JobDefs = DefaultJob
  FileSet = "ZZZ"
  Write Bootstrap = "/var/lib/bacula/XXX-ZZZ.bsr"
  Priority = 31
  Storage = LTO-5HH
  Pool = LTO-5HH-Pool
  Schedule = "WeeklyCycle"
  Max Wait Time = 5d
}

I hope this does the trick for you, too.

Best,
Christian


-----Original-Nachricht-----
Betreff: Re: [Bacula-users] Issue restoring from multiple tapes
Datum: 2017-10-28T06:15:05+0200
Von: "Andrew Ryder" <tire...@shaw.ca>
An: "Phil Stracchino" <ph...@caerllewys.net>, 
"bacula-users@lists.sourceforge.net" <bacula-users@lists.sourceforge.net>

Try pulling down the latest git version of bacula 9.0.x .. I pulled it
down and so far it politely asked for the next tape and patiently waited
for it to be loaded.

On 09/25/2017 12:59 AM, Phil Stracchino wrote:
> On 09/24/17 20:24, Andrew Ryder wrote:
>> Hello,
>>
>> I'm having an issue after upgrading from version 7 to version 9 where if 
>> I'm restoring from a job that spans more than one tape the job fails as 
>> soon as bacula hits the end of the first tape. Is there a new 
>> configuration option or something that needs to be set so it will wait 
>> for me to load the next tape rather than failing?
> 
> 
> I have encountered this same problem too.  I have yet to find a solution
> to it except to resume from the first file on the next tape, and try to
> find the file that crosses the tape ends from a different backup.  I
> have filed a bug report on it.  The basic problem seems to be that
> Bacula 9 is polling the drive many, many times a second after the first
> tape ends, but gives up after ten failed polls, which isn't remotely
> enough time to even unload the tape let alone change it.
> 
> 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to