Re: [Bacula-users] Bacula 13 & PostgreSQL 15 ?

2023-02-02 Thread Josip Deanovic

On 2023-02-03 08:36, Frédéric F. wrote:

Hello Ana,

Ok it's what I'm going to do.


I can't say anything  for Bacula 13 but I am running Bacula 9.6
on Postgres 15 for several months without problems.
Before Postgres 15 I used Postgres 14, 13 and 11, also without
problem.


Regards

--
Josip Deanovic


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 13 & PostgreSQL 15 ?

2023-02-02 Thread Frédéric F .
Hello Ana,

Ok it's what I'm going to do.

Thanks you.

Best regards

Le jeu. 2 févr. 2023, 23:15, Ana Emília M. Arruda 
a écrit :

> Hello Fréderic,
>
> Usually it is a better idea to use the PostgreSQL version provided by the
> OS. Bacula is tested with these PostgreSQL versions and I'm not sure it has
> been tested with PostgreSQL 15 for the Catalog.
>
> I would go with the one in the OS you have installed.
>
> Hope it helps.
>
> Best,
> Ana
>
> On Wed, Feb 1, 2023 at 4:27 PM Frédéric F.  wrote:
>
>> Hello,
>>
>> Is Bacula 13 compatible with PostgreSQL v15 & 15.1 or should I install
>> the 14 version ?
>>
>> I saw Bacularis is PostgreSQL v15 compatible but what about bacula ?
>>
>> https://bacularis.app/news/44/36/New-release-Bacularis-1.3.0/d,Bacularis%20news%20details
>>
>> Best regards
>>
>> Frederic
>>
>>
>>
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Baculum, LDAP and disable the 'server basic auth'...

2023-02-02 Thread Marcin Haba
Hello Marco,

If you use LDAP authentication, all this Apache block with Basic auth can
be removed. In this place you can write:

# Apache 2.4

   
   Require all granted
   


Good luck.

Best regards,
Marcin Haba (gani)

On Tue, 31 Jan 2023 at 22:43, Marco Gaiarin  wrote:

>
> I've installed baculum using debian packages, all works as expected and
> flawlessy.
>
> Now i've tried to add LDAP auth support, also successfuly: auth wprks, user
> imported.
>
> But if i try to login, the HTTP 'basic auth' popup of the default user
> 'admin' created in setup phase still want the 'admin' password.
>
> I've understood that (from docs):
>
>  LDAP
>  The Baculum Web can connect to the LDAP server to authenticate LDAP
> users. This method is realized by a HTML form in the Baculum Web.
>  Once this method is enabled, the web server basic authentication can be
> disabled.
>
>
> And i've on the apache virtualhost an entry like:
>
> # Apache 2.4
> 
> 
> SetEnvIf Request_URI "^/web/redirect$" noauth=1
> 
> 
> 
> Require env noauth
> Require env REDIRECT_noauth
> 
> Require all granted
> 
> 
> AuthType Basic
> AuthName "Baculum Auth"
> AuthUserFile
> /usr/share/baculum/htdocs/protected/Web/Config/baculum.users
> Require not env noauth
> Require not env REDIRECT_noauth
> Require valid-user
> 
> 
> 
> 
>
> I have to comment all the entry? Modify how?
>
>
> Thanks.
>
> --
>   STOP. I wanna go home
>   take off this uniform and leave the show  (Pink Floyd)
>
>
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


-- 
"Greater love hath no man than this, that a man lay down his life for his
friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za
przyjaciół swoich." Jezus Chrystus
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 13 & PostgreSQL 15 ?

2023-02-02 Thread Ana Emília M . Arruda
Hello Fréderic,

Usually it is a better idea to use the PostgreSQL version provided by the
OS. Bacula is tested with these PostgreSQL versions and I'm not sure it has
been tested with PostgreSQL 15 for the Catalog.

I would go with the one in the OS you have installed.

Hope it helps.

Best,
Ana

On Wed, Feb 1, 2023 at 4:27 PM Frédéric F.  wrote:

> Hello,
>
> Is Bacula 13 compatible with PostgreSQL v15 & 15.1 or should I install the
> 14 version ?
>
> I saw Bacularis is PostgreSQL v15 compatible but what about bacula ?
>
> https://bacularis.app/news/44/36/New-release-Bacularis-1.3.0/d,Bacularis%20news%20details
>
> Best regards
>
> Frederic
>
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Messages resources and spurious email...

2023-02-02 Thread Ana Emília M . Arruda
Hello Marco,

Now I understand your question, thanks!
So, these are daemon messages and you have your Messages resource for
daemon messages configured to send them to the console by using "console =
all, !skipped, !saved".

If you wish to send those messages to the .log file only, for example, just
set "console = !all":

Messages {
  Name = Daemon
  Description = "Messages resource for daemons (no jobs)"
  mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula LNF\) \<%r\>\"
-s \"[BaculaLNF] Notifica generica dal sistema di backup.\" %r"
  mail = some.e@mail.address = all, !skipped
  console = all, !skipped, !saved
  append = "/var/log/bacula/bacula.log" = all, !skipped
  catalog = all, !skipped, !saved
 }

It means that no daemon messages will go to the console (these messages are
displayed when you type "messages" in bconsole or "m", etc.).

Hope it helps!

Best,
Ana


On Thu, Feb 2, 2023 at 4:17 PM Marco Gaiarin  wrote:

> Mandi! Ana Emília M. Arruda
>   In chel di` si favelave...
>
> [ Could you please stop putting me in TO/CC?! mailman is so dumb that don't
>   send email if i'm on To:/CC:, and all my email archive goes bad ]
>
> > This is a message from Bacula daemons. It seems that you have the  "
> > bts-station1513.dyn.pp.lnf.it" value in the Address directive
> configured in one
> > of your Bacula hosts. The error is related to name resolution when
> Bacula tries
> > to connect to this host. So it must be configured somewhere in your
> > environment.
>
> Ana, thanks for the answer.
>
> Sure, the client are 'roaming' client and so it is normal that are not
> reachable.
>
>
> The question is not about the message 'per se', but on why messages like
> that came only if i log on console and i write 'mes', or when i restart
> bacula-dir.
>
>
> And, clearly, how to 'filter' them.
>
>
> Thanks.
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Question about bacula 13.0.x isntallation

2023-02-02 Thread Ana Emília M . Arruda
Hello Robin,

If you had previously installed both bacula-postgresql and bacula-mysql, I
would suggest you remove one of them. These are Director, File Daemon and
Storage Daemon for either PostgreSQL or MySQL/MariaDB.

As you have problems getting Director and/or Storage installed, it is
possible the installation is not successful because you are installing
these two packages.

Please confirm if you have a bacula PostgreSQL or a MySQL database. This is
very important. You need to use the correct one for the upgrade.

Best,
Ana

On Thu, Feb 2, 2023 at 5:10 PM Robin Schröter  wrote:

> Hello Ana,
>
> i tried your solution and installed
> bacula-mysql
>
> The Server installed a few packeges but no director was installed.
>
> bacula-client/stable,now 13.0.1-22081215~focal amd64 [installed,automatic]
> bacula-common/stable,now 13.0.1-22081215~focal amd64 [installed,automatic]
> bacula-console/stable,now 13.0.1-22081215~focal amd64 [installed,automatic]
> bacula-mysql/stable,now 13.0.1-22081215~focal amd64 [installed]
> bacula/stable,now 13.0.1-22081215~focal all [installed]
>
> Thats the only packeges that bacula 13 can install.
>
> Can I get the director and Storage as installed packeges?
> Am 27.01.2023 um 09:43 schrieb Ana Emília M. Arruda:
>
> Hello Robin,
>
> Bacula Director and Bacula Storage Daemon comes in the very same package.
>
> You must install either the bacula_postgresql (if you use a PostgreSQL
> Bacula Catalog) or the bacula_mysql (if you use a MySQL or MariaDB Bacula
> Catalog). Then, as soon as you have this package installed, you will have
> both Director and the Storage in the same host. You just need to disable
> and stop the daemon, for example, in the Storage only host:
>
> * systemctl disable bacula-dir
> * systemctl stop bacula-dir
>
> Hope it helps.
>
> Best,
> Ana
>
> On Thu, Jan 26, 2023 at 4:59 PM Robin Schröter 
> wrote:
>
>> Hello,
>>
>> at the moment we have to seperate Ubunut 20.04 Server.
>>
>> One has Bacula-director 9.4.2 and the other has Bacula-sd 9.4.2
>>
>> I got the repo link from bacula
>>
>> https://www.bacula.org/packages/***/debs/13.0.1/dists/focal/main/binary-amd64/
>> there are the packeges I can get into ubuntu using the sources.list.
>>
>> The problem is I cant find the bacual-sd nor the bacula-director as
>> seperate packeges.
>>
>> I wanted to update the bacula version on these two ubuntu Servers to the
>> newest 13.0.x version.
>>
>> For that I need to install the bacula-sd and bacula-director seperatly
>> on two different servers.
>>
>> The other bacula version also only have these packeges.
>>
>> bacula-cdp-plugin_13.0.1-22081215~focal_amd64.deb
>> bacula-client_13.0.1-22081215~focal_amd64.deb
>> bacula-cloud-storage-common_13.0.1-22081215~focal_amd64.deb
>> bacula-cloud-storage-s3_13.0.1-22081215~focal_amd64.deb
>> bacula-common_13.0.1-22081215~focal_amd64.deb
>> bacula-console_13.0.1-22081215~focal_amd64.deb
>> bacula-docker-plugin_13.0.1-22081215~focal_amd64.deb
>> bacula-docker-tools_13.0.1-22081215~focal_amd64.deb
>> bacula-kubernetes-plugin_13.0.1-22081215~focal_amd64.deb
>> bacula-kubernetes-tools_13.0.1-22081215~focal_amd64.deb
>> bacula-mysql_13.0.1-22081215~focal_amd64.deb
>> bacula-postgresql_13.0.1-22081215~focal_amd64.deb
>> bacula_13.0.1-22081215~focal_all.deb
>>
>> I can install the bacula_13.0.1-22081215~focal_all.deb packed but that
>> doesnt list bacula-sd or bacula-director as installed packeges.
>> In addition to that that packed also wants to install postgresql that we
>> dont wanna use.
>>
>> Is there a possibility to install bacula-director and bacula-sd 13.0.x
>> speratly on two different servers without compiling it new? (Because we
>> want to upgarde the already installed version)
>>
>>
>>
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Question about bacula 13.0.x isntallation

2023-02-02 Thread Robin Schröter

Hello Ana,

i tried your solution and installed
bacula-mysql

The Server installed a few packeges but no director was installed.

bacula-client/stable,now 13.0.1-22081215~focal amd64 [installed,automatic]
bacula-common/stable,now 13.0.1-22081215~focal amd64 [installed,automatic]
bacula-console/stable,now 13.0.1-22081215~focal amd64 [installed,automatic]
bacula-mysql/stable,now 13.0.1-22081215~focal amd64 [installed]
bacula/stable,now 13.0.1-22081215~focal all [installed]

Thats the only packeges that bacula 13 can install.

Can I get the director and Storage as installed packeges?

Am 27.01.2023 um 09:43 schrieb Ana Emília M. Arruda:

Hello Robin,

Bacula Director and Bacula Storage Daemon comes in the very same package.

You must install either the bacula_postgresql (if you use a PostgreSQL 
Bacula Catalog) or the bacula_mysql (if you use a MySQL or MariaDB 
Bacula Catalog). Then, as soon as you have this package installed, you 
will have both Director and the Storage in the same host. You just 
need to disable and stop the daemon, for example, in the Storage only 
host:


* systemctl disable bacula-dir
* systemctl stop bacula-dir

Hope it helps.

Best,
Ana

On Thu, Jan 26, 2023 at 4:59 PM Robin Schröter  
wrote:


Hello,

at the moment we have to seperate Ubunut 20.04 Server.

One has Bacula-director 9.4.2 and the other has Bacula-sd 9.4.2

I got the repo link from bacula

https://www.bacula.org/packages/***/debs/13.0.1/dists/focal/main/binary-amd64/
there are the packeges I can get into ubuntu using the sources.list.

The problem is I cant find the bacual-sd nor the bacula-director as
seperate packeges.

I wanted to update the bacula version on these two ubuntu Servers
to the
newest 13.0.x version.

For that I need to install the bacula-sd and bacula-director
seperatly
on two different servers.

The other bacula version also only have these packeges.

bacula-cdp-plugin_13.0.1-22081215~focal_amd64.deb
bacula-client_13.0.1-22081215~focal_amd64.deb
bacula-cloud-storage-common_13.0.1-22081215~focal_amd64.deb
bacula-cloud-storage-s3_13.0.1-22081215~focal_amd64.deb
bacula-common_13.0.1-22081215~focal_amd64.deb
bacula-console_13.0.1-22081215~focal_amd64.deb
bacula-docker-plugin_13.0.1-22081215~focal_amd64.deb
bacula-docker-tools_13.0.1-22081215~focal_amd64.deb
bacula-kubernetes-plugin_13.0.1-22081215~focal_amd64.deb
bacula-kubernetes-tools_13.0.1-22081215~focal_amd64.deb
bacula-mysql_13.0.1-22081215~focal_amd64.deb
bacula-postgresql_13.0.1-22081215~focal_amd64.deb
bacula_13.0.1-22081215~focal_all.deb

I can install the bacula_13.0.1-22081215~focal_all.deb packed but
that
doesnt list bacula-sd or bacula-director as installed packeges.
In addition to that that packed also wants to install postgresql
that we
dont wanna use.

Is there a possibility to install bacula-director and bacula-sd
13.0.x
speratly on two different servers without compiling it new?
(Because we
want to upgarde the already installed version)



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Renaming SD/FD, Pools, Media...

2023-02-02 Thread Marco Gaiarin
Mandi! Ana Emília M. Arruda
  In chel di` si favelave...

> Renaming resources in Bacula is a bit complicated as it affects both
> configuration files and the database in some cases.
> 
> Thus, it is better to create new ones and delete the old ones. Or, if it is
> possible for you, just drop the database, create the new resources and start
> with a fresh database. This is only recommended if you don't want to keep your
> current backups, otherwise this action will make them unusable.

Perfectly clear. Thanks.


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Messages resources and spurious email...

2023-02-02 Thread Marco Gaiarin
Mandi! Ana Emília M. Arruda
  In chel di` si favelave...

[ Could you please stop putting me in TO/CC?! mailman is so dumb that don't
  send email if i'm on To:/CC:, and all my email archive goes bad ]

> This is a message from Bacula daemons. It seems that you have the  "
> bts-station1513.dyn.pp.lnf.it" value in the Address directive configured in 
> one
> of your Bacula hosts. The error is related to name resolution when Bacula 
> tries
> to connect to this host. So it must be configured somewhere in your
> environment.

Ana, thanks for the answer.

Sure, the client are 'roaming' client and so it is normal that are not
reachable.


The question is not about the message 'per se', but on why messages like
that came only if i log on console and i write 'mes', or when i restart
bacula-dir.


And, clearly, how to 'filter' them.


Thanks.


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users