Re: [Bacula-users] Issue restoring from multiple tapes

2017-10-27 Thread Andrew Ryder
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


Re: [Bacula-users] Upgrading to Bacula 9.0.4

2017-10-27 Thread ted
Hey All,


Thank you, for taking the time to add to the things to take note of when 
proceeding with and upgrade like this... It has been quite some time since this 
Bacula system was upgraded from 5 to 7, and I for sure needed some refreshers 
on what to consider and plan for.. Of course the backup of the backup system 
will be part of the game plan 


Thanks, Ted


From: Kern Sibbald 
Sent: Friday, October 27, 2017 11:36:26 AM
To: Jonathan Hankins; ted
Cc: Martin Simmons; bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Upgrading to Bacula 9.0.4


Hello,

Yes, all the existing scripts connect to the DB named "bacula".  It is easily 
changed, for example, the regression scripts all put everything into the DB 
named "regress".  Typically you either manually edit the scripts (as I usually 
do) and change the db_name bacula to something else.  Or you can set the 
environment variable db_name, but you must be sure to "export" it.

Best regards,

Kern

On 10/27/2017 08:08 PM, Jonathan Hankins wrote:
FWIW, for anyone wanting to go the route of a side-by-side install of different 
versions on different ports / config files, etc.:

Be careful with the DB creation / upgrade / backup scripts, as they will 
default to a particular file / db name / db instance. You don't want to blow up 
or talk to the wrong DB. I think there's nothing but pain down that road :-)

-Jonathan Hankins

On Fri, Oct 27, 2017 at 11:19 AM ted 
> wrote:

Hi Martin, and Olivier,


Thank you for answering my questions! My first thought was to try an inline 
install of 9, changing the directories and port #'s as you had noted. However, 
after the input provided by you guys, I think the best path for my upgrade is 
the port everything over to Bacula 9.


Thanks, again for providing some direction for this upgrade.


   Ted


From: Martin Simmons >
Sent: Friday, October 27, 2017 1:27:45 AM
To: 
bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Upgrading to Bacula 9.0.4

> On Thu, 26 Oct 2017 17:05:00 +, ted  said:
>
> I have a quick question about a Bacula upgrade to Bacula 9.0.4. I have a
> Bacula director, and a number of storage units at 7.0.4 running on a BSD
> server with postgres for the Bacula database. My question is can Bacula 9 be
> run inline with the Bacula 7 version? Or is the best solution to just
> configure another server for the Bacula 9 installation and port over the
> client configs and databases? Any input to this upgrade path would be
> greatly appreciated.

It is probably better to port everything on that machine to Bacula 9.  You can
continue to use Bacula 7 on any other client machines.

OTOH, if you change the port numbers and directories in the configs and use a
separate catalog database then you can run multiple independent versions of
Bacula on the same machine.  As Olivier mentioned, you have to be careful
about which versions talk to each other though.

__Martin

--
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

This e-mail is intended only for the recipient and may contain confidential or 
proprietary information. If you are not the intended recipient, the review, 
distribution, duplication or retention of this message and its attachments is 
prohibited. Please notify the sender of this error immediately by reply e-mail, 
and permanently delete this message and its attachments in any form in which 
they may have been preserved.


--
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 

Re: [Bacula-users] Upgrading to Bacula 9.0.4

2017-10-27 Thread Kern Sibbald

  
  
Hello,
Yes, all the existing scripts connect to the DB named "bacula". 
  It is easily changed, for example, the regression scripts all put
  everything into the DB named "regress".  Typically you either
  manually edit the scripts (as I usually do) and change the db_name
  bacula to something else.  Or you can set the environment variable
  db_name, but you must be sure to "export" it.

Best regards,
Kern


On 10/27/2017 08:08 PM, Jonathan
  Hankins wrote:


  FWIW, for anyone wanting to go the route of a
side-by-side install of different versions on different ports /
config files, etc.:


Be careful with the DB creation / upgrade / backup scripts,
  as they will default to a particular file / db name / db
  instance. You don't want to blow up or talk to the wrong DB. I
  think there's nothing but pain down that road :-)


-Jonathan Hankins 
  
  
  
On Fri, Oct 27, 2017 at 11:19 AM ted 
  wrote:


  

  

  Hi Martin, and Olivier,
  
  
  Thank you for answering my
questions! My first thought was to try an inline
install of 9, changing the directories and port #'s
as you had noted. However, after the input provided
by you guys, I think the best path for my upgrade is
the port everything over to Bacula 9.
  
  
  Thanks,
again for providing some direction for this upgrade.
  
  
         Ted  

  
  
  From: Martin Simmons 
  Sent: Friday, October 27, 2017 1:27:45 AM
  To: bacula-users@lists.sourceforge.net
  Subject: Re: [Bacula-users] Upgrading to Bacula
  9.0.4
 
  

  
  

>
  On Thu, 26 Oct 2017 17:05:00 +, ted  said:
  > 
  > I have a quick question about a Bacula upgrade to
  Bacula 9.0.4. I have a
  > Bacula director, and a number of storage units at
  7.0.4 running on a BSD
  > server with postgres for the Bacula database. My
  question is can Bacula 9 be
  > run inline with the Bacula 7 version? Or is the
  best solution to just
  > configure another server for the Bacula 9
  installation and port over the
  > client configs and databases? Any input to this
  upgrade path would be
  > greatly appreciated.
  
  It is probably better to port everything on that
  machine to Bacula 9.  You can
  continue to use Bacula 7 on any other client machines.
  
  OTOH, if you change the port numbers and directories
  in the configs and use a
  separate catalog database then you can run multiple
  independent versions of
  Bacula on the same machine.  As Olivier mentioned, you
  have to be careful
  about which versions talk to each other though.
  
  __Martin
  
--
  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

  
  
  This e-mail is intended only for the recipient and may contain confidential or proprietary information. If you are not the intended recipient, the review, distribution, duplication or retention of this message and its attachments is 

Re: [Bacula-users] Upgrading to Bacula 9.0.4

2017-10-27 Thread Jonathan Hankins
FWIW, for anyone wanting to go the route of a side-by-side install of
different versions on different ports / config files, etc.:

Be careful with the DB creation / upgrade / backup scripts, as they will
default to a particular file / db name / db instance. You don't want to
blow up or talk to the wrong DB. I think there's nothing but pain down that
road :-)

-Jonathan Hankins

On Fri, Oct 27, 2017 at 11:19 AM ted  wrote:

> Hi Martin, and Olivier,
>
>
> Thank you for answering my questions! My first thought was to try an
> inline install of 9, changing the directories and port #'s as you had
> noted. However, after the input provided by you guys, I think the best path
> for my upgrade is the port everything over to Bacula 9.
>
>
> Thanks, again for providing some direction for this upgrade.
>
>
>Ted
>
> --
> *From:* Martin Simmons 
> *Sent:* Friday, October 27, 2017 1:27:45 AM
> *To:* bacula-users@lists.sourceforge.net
> *Subject:* Re: [Bacula-users] Upgrading to Bacula 9.0.4
>
> > On Thu, 26 Oct 2017 17:05:00 +, ted  said:
> >
> > I have a quick question about a Bacula upgrade to Bacula 9.0.4. I have a
> > Bacula director, and a number of storage units at 7.0.4 running on a BSD
> > server with postgres for the Bacula database. My question is can Bacula
> 9 be
> > run inline with the Bacula 7 version? Or is the best solution to just
> > configure another server for the Bacula 9 installation and port over the
> > client configs and databases? Any input to this upgrade path would be
> > greatly appreciated.
>
> It is probably better to port everything on that machine to Bacula 9.  You
> can
> continue to use Bacula 7 on any other client machines.
>
> OTOH, if you change the port numbers and directories in the configs and
> use a
> separate catalog database then you can run multiple independent versions of
> Bacula on the same machine.  As Olivier mentioned, you have to be careful
> about which versions talk to each other though.
>
> __Martin
>
>
> --
> 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
>

-- 
This e-mail is intended only for the recipient and may contain confidential 
or proprietary information. If you are not the intended recipient, the 
review, distribution, duplication or retention of this message and its 
attachments is prohibited. Please notify the sender of this error 
immediately by reply e-mail, and permanently delete this message and its 
attachments in any form in which they may have been preserved.
--
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


Re: [Bacula-users] Upgrading to Bacula 9.0.4

2017-10-27 Thread ted
Hi Martin, and Olivier,


Thank you for answering my questions! My first thought was to try an inline 
install of 9, changing the directories and port #'s as you had noted. However, 
after the input provided by you guys, I think the best path for my upgrade is 
the port everything over to Bacula 9.


Thanks, again for providing some direction for this upgrade.


   Ted



From: Martin Simmons 
Sent: Friday, October 27, 2017 1:27:45 AM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Upgrading to Bacula 9.0.4

> On Thu, 26 Oct 2017 17:05:00 +, ted  said:
>
> I have a quick question about a Bacula upgrade to Bacula 9.0.4. I have a
> Bacula director, and a number of storage units at 7.0.4 running on a BSD
> server with postgres for the Bacula database. My question is can Bacula 9 be
> run inline with the Bacula 7 version? Or is the best solution to just
> configure another server for the Bacula 9 installation and port over the
> client configs and databases? Any input to this upgrade path would be
> greatly appreciated.

It is probably better to port everything on that machine to Bacula 9.  You can
continue to use Bacula 7 on any other client machines.

OTOH, if you change the port numbers and directories in the configs and use a
separate catalog database then you can run multiple independent versions of
Bacula on the same machine.  As Olivier mentioned, you have to be careful
about which versions talk to each other though.

__Martin

--
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


Re: [Bacula-users] Upgrading to Bacula 9.0.4

2017-10-27 Thread Martin Simmons
> On Thu, 26 Oct 2017 17:05:00 +, ted  said:
> 
> I have a quick question about a Bacula upgrade to Bacula 9.0.4. I have a
> Bacula director, and a number of storage units at 7.0.4 running on a BSD
> server with postgres for the Bacula database. My question is can Bacula 9 be
> run inline with the Bacula 7 version? Or is the best solution to just
> configure another server for the Bacula 9 installation and port over the
> client configs and databases? Any input to this upgrade path would be
> greatly appreciated.

It is probably better to port everything on that machine to Bacula 9.  You can
continue to use Bacula 7 on any other client machines.

OTOH, if you change the port numbers and directories in the configs and use a
separate catalog database then you can run multiple independent versions of
Bacula on the same machine.  As Olivier mentioned, you have to be careful
about which versions talk to each other though.

__Martin

--
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


Re: [Bacula-users] Upgrading to Bacula 9.0.4

2017-10-27 Thread Olivier Delestre

Hi,

An extract of Release 9.0.0,

"Compatibility:
–
As always, both the Community Director and Storage daemon(s) must be 
upgraded

at the same time. Any File daemon running on the same machine as a Director
or Storage daemon must be of the same version."




Le 26/10/2017 à 19:05, ted a écrit :


Hi all,


I have a quick question about a Bacula upgrade to Bacula 9.0.4. I have 
a Bacula director, and a number of storage units at 7.0.4 running on a 
BSD server with postgres for the Bacula database. My question is can 
Bacula 9 be run inline with the Bacula 7 version? Or is the best 
solution to just configure another server for the Bacula 9 
installation and port over the client configs and databases? Any input 
to this upgrade path would be greatly appreciated.



  Thanks, Ted




--
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


Re: [Bacula-users] Bacula-dir failed to connect to bacula-sd on Freenas.

2017-10-27 Thread Gi Dot
That should be it then. Thanks for the help.

On Wed, Oct 25, 2017 at 7:28 PM, Gary R. Schmidt 
wrote:

> On 25/10/2017 21:34, Davide Franco wrote:
>
>> Hi,
>>
>> As far as I know, both sd and director needs to be on same version.
>>
>> I can’t find it in Bacula documentation yet, but feel free to have a look
>> at the main manual.
>>
> >
> The Rule is:
>
> (DIR == SD) >= FD.
>
> The Director and Storage Daemon have to be the same version, which is
> usually not too much of a problem as they tend to be on the same machine,
> and the File Daemon has to be of a lesser or equal version, which makes
> sense as it is often not possible to compile a new FD on an old OS.
>
> Cheers,
> GaryB-)
>
>
> 
> --
> 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