Re: [Bacula-users] Raspberry Pi Bookworm Arch64

2024-08-05 Thread Carsten Leonhardt
Jim Richardson via Bacula-users 
writes:

> Good Saturday morning, Bacula-users,
>
> I have recently started a weather/solar station project with a series of 
> Raspberry Pi devices.  When the time came to have backups, I turned to 
> Bacula.  The Bacula community doesn't provide an Arch64 version.  I am 
> successfully building it from source (15.0.2).  When it comes to scripts 
> associated with building binary packages, does anyone here know if the 
> community version package maintainers publish them?  Any assistance is 
> appreciated.  I do plan to share this build with the community.
>
> I have downloaded the Amd64 packages and can reverse engineer the debs to get 
> where I want to be.  Still, it would save me a lot of time and 
> troubleshooting if the package maintainers have a "make deb-rasp-arch64"-like 
> script already completed.
>
> Thank you for any assistance you can provide.

If that "bookworm" you mention refers to Debian bookworm, you can simply
"apt install bacula-fd", the director can backup older FDs.

Otherwise, the sources for Debian packaging of 15.0.2 can be found here
in the experimental branch:

https://salsa.debian.org/bacula-team/bacula/-/tree/experimental?ref_type=heads

It's stalled on testing the packages at the moment, so feedback is
welcome.

Regards

Carsten


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


Re: [Bacula-users] Contribution

2020-09-10 Thread Carsten Leonhardt
Hi Mario,

> I am interested in contributing in Bacula repositories for Linux.
> I am mainly using Debian, hence the urge to have latest stable Bacula
> packages in repository, but will help generally with packaging.
>
> Whom should I get in touch with?

contact pkg-bacula-de...@lists.alioth.debian.org if you want to
contribute to packaging Bacula for Debian.

There is a TODO list at
https://salsa.debian.org/bacula-team/bacula/-/blob/master/debian/TODO

Note that the latest stable Bacula version is available in backports:

https://backports.debian.org/Instructions/

Regards,

Carsten


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


Re: [Bacula-users] packages for Debian buster available?

2019-12-11 Thread Carsten Leonhardt
Hi,

Gregor Burck  writes:

> I want to try bacula on an debian buster system. But there aren't
> packages for buster available now?

They are available in standard Debian, for starters you could try

apt install postgresql
apt install bacula

Regards,

Carsten


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


Re: [Bacula-users] MySQL 8.0 mysql.c:201:4: error: unknown type name 'my_bool'

2019-04-27 Thread Carsten Leonhardt
Hi Dan,

> I am setting up regression testing for MySQL 8.0 and getting this error on 
> the build:

> /usr/home/dan/src/bacula/regress/build/libtool --silent --tag=CXX --mode=link 
> /usr/bin/c++-o libbaccats.la cats_null.lo -export-dynamic -rpath 
> /usr/home/dan/src/bacula/regress/bin -release 9.4.3
> Compiling mysql.c
> mysql.c:201:4: error: unknown type name 'my_bool'
>my_bool reconnect = 1;
>^
> 1 error generated.
> *** Error code 1

MySQL removed "my_bool" in version 8, a patch is needed. For example:

see https://patches.ubuntu.com/b/bacula/bacula_9.4.2-2ubuntu1.patch

There might be cleverer approaches.

Regards,

Carsten


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


Re: [Bacula-users] Will latest release run on i686

2019-02-01 Thread Carsten Leonhardt
Hodges  writes:

> Been thinking about updating my bacula which is 5.2.6 and is running on an
> oldish linux server which runs Debian 8 Jessie on an intel Atom i686
> processor
>
> All the downloads on the website for 9.2.2 are for AMD64 so far as I can
> see, which I guess will not work on my system. Am I right on this? Do I
> have to change my server to run 9.2.2

32bit processors are still supported.

If you're using 5.2.6 you are probably using the packages provided by
Debian. In your case you can upgrade to version 7.4.3 easily by using
jessie backports[1], or upgrade your server to Debian 9 Stretch and then
get the current 9.4.1 from stretch backports.

[1] https://backports.debian.org/Instructions/


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


Re: [Bacula-users] Installation of 9.x.x.

2019-02-01 Thread Carsten Leonhardt
Hodges  writes:

> Am following the Bacula Community Installation Guide in an attempt to
> upgrade from 5.0 to 9.20. I am on debian Jessie running on i686

it is probably a bad idea to install the packages provided by Bacula
Systems over already installed packages from Debian and vice versa.

> I can install bacula 9.4.1 from the debian repositories but it doesn't
> install with same configuration as the Installation Guide, does not seem
> to recognise systemd and generally does not work

Installing the Debian-provided 9.4.1 packages to a Debian 8 system is not
supported. See my previous mail on what is supported by Debian.


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


Re: [Bacula-users] bacula-fd filed on AIX xacl_aix missing.

2017-11-27 Thread Carsten Leonhardt
Hi Nicolás,

> I downloaded bacula 9.0.6 as suggested but the problem is still there, 
> only this time the files and missing symbol start with a "b" instead of an 
> "x". Look: 
[...]
> And now my question woud be where do I find bacl_aix.[ch]? 

you should be able to compile without acl and xattr by using these
configure options: --disable-acl --disable-xattr

I don't know what happens if you try to restore existing backups that
contain acl and xattr data.

The code was rewritten or restructured, but the functions were not
implemented for all previously supported operating systems.

Regards,

Carsten

--
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] Any help appreciated

2017-09-26 Thread Carsten Leonhardt
Hi,

> 3. I have connected Storage using address = 127.0.0.1 and it fails if I 
> try using ip or FQDN 

I'll assume that you installed the Debian packages. I'll guess that you
need to read /usr/share/doc/bacula-common/README.Debian.gz and in
particular the section "NETWORK ENABLING".

Regards,

Carsten

--
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 9.0.3 on Debian 9.1 with OpenSSL-1.0.2l doubts

2017-08-29 Thread Carsten Leonhardt
Hi Kern,

Kern Sibbald  writes:

> I have not seen the attachments you refer to.  If you either send them
> to me or supply me with a link to them, I will look at them, but I
> promise nothing since the goal for the last few years has been to stop
> spending time on SQLite.

They are at:

http://bugs.bacula.org/view.php?id=2305
http://bugs.bacula.org/view.php?id=2306

and there is also

http://bugs.bacula.org/view.php?id=2307

about systemd.

> Of course there is a problem for your existing SQLite users.  I see
> the following
> choices:
> 1. They remain on 9.0.3
> 2. They convert to using either MySQL or PostgreSQL -- I believe that
>  it may be possible to simply take a SQLite3 sql dump and feed it
>  directly into PostgreSQL.  (or at least the changes would be
> minor).  For
>  MySQL, the changes to the SQLite3 dump will probably be more
>  important.
> 3. Debian continues to patch newer versions of Bacula to include support
> for SQLite3.  If you want to do this, you just need to reverse or
> back out
> the SHA1 3f376bbd58d44a16032cb45373b11f6fd06d9589 commit that
> I just made then "recompile" configure.in by using "make configure".
>
> I will at some point completely remove even the possibility of building
> the SQLite3.  However, if you choose item #3 above, please inform me
> and I will keep the old code around for another couple of years.
>
> I hope the above helps you determine the least disruptive path to take.

Thanks for your input. I'll probably go with 3 while testing 2.

 - Carsten

--
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 9.0.3 on Debian 9.1 with OpenSSL-1.0.2l doubts

2017-08-28 Thread Carsten Leonhardt
Hi Kern,

Kern Sibbald  writes:

> It has been a long time since the Bacula Community version supports
> SQLite3.  The code is still there, but it simply does not perform
> well, and so it is not at all suitable for a Bacula production
> environment.  The only two officially supported databases are MySQL
> and PostgreSQL, and providing that MariaDB remains reasonably
> compatible with MySQL, it will also work.

> It does not make any sense to hold up a Bacula release because of some
> problem with SQLite3.   If you do decide to hold up the release,
> please let me know so that I can completely remove the code in 9.0.4.

I would greatly prefer to be able to give users of Debian and it's
derivatives a warning before sqlite3 support is removed, especially
because sqlite/sqlite3 had been the default database in Debian
installations since the first Debian release that included Bacula
(Debian 3.1 in 2005). My predecessors in Bacula package maintenance
never changed that default. While I might be able to warn Debian users
by updating the current Bacula version in Debian stable to include such
a warning, that would not reach users of Debian derivatives (like
Ubuntu).

Anyway, attached to the bug reports (2305 + 2306) are now the patches
that I intend to use for the Debian packages.

 - Carsten

--
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 9.0.3 on Debian 9.1 with OpenSSL-1.0.2l doubts

2017-08-27 Thread Carsten Leonhardt
Heitor Faria  writes:

> Hello, Carsten,
>
>> Before I can release Bacula 9.0.3 to Debian unstable, bugs 2305 and 2306
>> about sqlite3 database creation/update need to be addressed.
>
> SQLite isn't supported anymore by the Bacula developers.
> This was widely advertised in previous threads and changelog.

Well, Kern said: "we are maintaining the Bacula SQLite 3 source code and
making an attempt to correctly update the necessary scripts." ¹

There are at least 235 Debian users with installations of a bacula
director using sqlite3² so I'd rather have a working update script for
sqlite3 databases. Which is why I've attached a patch to that bug report
for review.

 - Carsten

¹ Message-ID: 

² https://qa.debian.org/popcon.php?package=bacula

--
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 9.0.3 on Debian 9.1 with OpenSSL-1.0.2l doubts

2017-08-27 Thread Carsten Leonhardt
Sven Hartge  writes:

> On 23.08.2017 18:20, Wanderlei Huttel wrote:
>
>> So, is it possible install Bacula 9.0.3 in Debian 9.1 or similar SO with
>> newers OpenSSL versions using this way, or this is not possible?
>
> I just checked and the current in-development version of the
> Debian-official packages of 9.0.3 compile in a Jessie-Backports chroot()
> for me.
>
> So after the release of Bacula 9.0.3 in Debian (soonish, I hope)

Before I can release Bacula 9.0.3 to Debian unstable, bugs 2305 and 2306
about sqlite3 database creation/update need to be addressed.

If you want to compile yourself, try installing libssl1.0-dev instead of
libssl-dev.

 - Carsten

--
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] packaging and -Bsymbolic_functions link option (was: bconsole can't talk to bacula-dir)

2016-10-04 Thread Carsten Leonhardt
Kern Sibbald  writes:

> Yes, it is my understanding that Ubuntu (at least the Bacula packager)
> is way ahead of Debian.

While Debian stable still has the old 5.2.x release, it's quite easy to
run a current version of Bacula using backports¹. Currently it's on
7.4.3 but I'll put 7.4.4 there soonish.

And yes - these builds are tested before they are released :-)

 - Carsten (Main packager of bacula for Debian)

(1) https://backports.debian.org/Instructions

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