Re: [Bacula-users] Bacula 9.4 S3 plugin

2018-12-27 Thread Sven Hartge
On 27.12.18 20:50, Dante F. B. Colò wrote:

> I'm trying to setup a s3 cloud storage on Bacula Storage Daemon, is
> there any extra dependencies necessary on the system to build Bacula
> with the S3 plugin ?   I already compiled and installed but the
> bacula-sd process dies when Bacula tries to connect and list a cloud
> volume from bconsole.

I dug into this extensivley while trying (note my wording here) to
enable this feature for Debian.

First, you need Bacula 9.4.1, because 9.4.0 was missing a crucial bit in
the configure script, skipping detection of libs3.

Then, as it turns out, you need a very specific version of libs3 for
this, namely the GIT version 06a4683 from 2016-12-14. Any older or newer
and Bacula won't even compile.

To get this ancient version to compile with todays compilers, you need
to add two patches, I've isolated them here
https://salsa.debian.org/hartge-guest/libs3/tree/master/debian/patches.
You need the fix-buffer-sizes.patch and support-newer-curl.patch.

Beware: I just tested successful compilation of Bacula with this version
of the library, I didn't test if it works at all and if it works, it
does so correctly.

There is a thread in bacula-devel going over the whole ordeal, if you
are interested, I suggest reading it as well.

Grüße,
Sven.




signature.asc
Description: OpenPGP digital signature
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula 9.4 S3 plugin

2018-12-27 Thread Dante F . B . Colò

Hello everybody

I'm trying to setup a s3 cloud storage on Bacula Storage Daemon, is 
there any extra dependencies necessary on the system to build Bacula 
with the S3 plugin ?   I already compiled and installed but the 
bacula-sd process dies when Bacula tries to connect and list a cloud 
volume from bconsole.



Best Regards

Dante Colò



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


Re: [Bacula-users] "ERR=database or disk is full" while building directory tree for restore

2018-12-27 Thread Phil Stracchino
On 12/27/18 2:32 AM, Adam Nielsen wrote:
>> I once tried MariaDB and found that it cannot be installed on the same 
>> machine with MySQL unless you do a lot of tweaking at a very low level.  
>> Currently I have both Postgres and MySQL installed on the same machines, 
>> so supporting an additional DB is painful.
> 
> MariaDB is a fork of MySQL, maintained by the original MySQL
> developers.  Oracle continues to maintain MySQL, but MariaDB is the
> "spiritual" successor of MySQL.

Well, in one sense.  I think of it more as a fork than as a successor.
The real evolution is still happening in MySQL, and (so far at least) it
is MySQL, not MariaDB, that major third parties such as Percona maintain
compatibility with.  This is becoming problematic as MariaDB and MySQL
drift further and further apart.  Monty Widenius did the world no favors
when he decided he wanted to walk back entrusting MySQL to Sun.


> MariaDB has already replaced MySQL in most Linux distributions, at
> least those aimed at the desktop.  There have been very few
> compatibility problems.

So far.  MySQL 8 is a major sea change.  For the first time it has a
real data dictionary ... and MariaDB doesn't.  This is the end of binary
data compatibility between MySQL and MariaDB.


> As long as Bacula sticks
> to the common feature set and doesn't use any of the new
> Oracle-MySQL-specific features then it will probably continue to work
> just fine with both MySQL and MariaDB for some time yet, with no special
> maintenance effort.

And truth be told, pretty much all of the Oracle-specific features are
either Oracle Enterprise add-on tools, or functionality relevant only
between multiple MySQL servers.  Except for MySQL 5.7's clamp-down on
SQL99 compliance, which is really just cleaning up a lot of sloppy
things MySQL has historically done technically-wrong, like allowing
nonexistent/impossible dates as a default DATETIME value, or NOT NULL
without a DEFAULT.


-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958


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


Re: [Bacula-users] "ERR=database or disk is full" while building directory tree for restore

2018-12-27 Thread Sebastian Suchanek
Am 27.12.2018 um 08:32 schrieb Adam Nielsen:

> [...]
> MariaDB has already replaced MySQL in most Linux distributions, at
> least those aimed at the desktop.  There have been very few
> compatibility problems.  I am currently running Bacula with MariaDB on
> the Arch Linux distribution and haven't encountered any issues so far,
> but then my backups are only home-user sized.

Full-ACK. (Although I'm running Bacula and MariaDB on Debian, not on Arch.)
For reference: my Bacula database in MariaDB is currently ~1.5GB in
size, with ~6.5 mio. entries in the "File" table.

> As long as Bacula sticks
> to the common feature set and doesn't use any of the new
> Oracle-MySQL-specific features then it will probably continue to work
> just fine with both MySQL and MariaDB for some time yet, with no special
> maintenance effort.
> [...]

Yes, I'd assume that too.


Best regards

Sebastian



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


Re: [Bacula-users] "ERR=database or disk is full" while building directory tree for restore

2018-12-27 Thread Dmitri Maziuk via Bacula-users
On Thu, 27 Dec 2018 02:44:52 +0100
Kern Sibbald  wrote:

> ...  I run PostgreSQL, so if someone wants and needs MariaDB
> then the project kindly requests the necessary patches and testing.

LOL. I run postgres too, mysql's continuing existence has always
been a mystery to me. I can sort of see the need back when the only
alternative on winders was trying to get AOL CD users to build postgres
in cygwin and... and even then one could find e.g. interbase for free if one 
looked.

-- 
Dmitri Maziuk 


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