Re: [Bacula-users] PostgreSQL update script fails

2023-11-23 Thread Dan Langille
On Thu, Nov 23, 2023, at 8:14 PM, Dan Langille wrote: > I hope to do a blog post with more details about the upgrade process > including some suggestions: > > * copy the scripts to the database server > * run it as the postgresql user, whatever that happens to be on the OS > in question The blo

Re: [Bacula-users] PostgreSQL update script fails

2023-11-23 Thread Dan Langille
On Thu, Nov 23, 2023, at 8:14 PM, Dan Langille wrote: > I started an upgrade from Bacula 9.6.7 to Bacula 13.0.1 today and I > have two suggestions for fixing bugs. If a patch with a merge request > is preferred, I can do that next. Patches here: https://github.com/dlangille/bacula-community/co

[Bacula-users] PostgreSQL update script fails

2023-11-23 Thread Dan Langille
I started an upgrade from Bacula 9.6.7 to Bacula 13.0.1 today and I have two suggestions for fixing bugs. If a patch with a merge request is preferred, I can do that next. Action item 1: There is an error on this line. There is more than one such line. echo "Inserting File data from file.$$.da

[Bacula-users] Volume Encryption in Bacula 15

2023-11-23 Thread Matlink
Hi, I'm trying to setup Volume Encryption with self-compiled Bacula 15 from source (Branch-15.0) following this doc https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/blob/Branch-15.0/bacula/src/stored/storage_encryption.rst So I've set something like this in bacula-sd.conf

Re: [Bacula-users] Compiling SD only

2023-11-23 Thread Radosław Korzeniewski
Hello, niedz., 12 lis 2023 o 00:28 Chris Wilkinson napisał(a): > Yes but that also means a DB must be installed which is not required by > the SD. > It is not exactly true. It requires a dev database client library available and not a database itself. For PostgreSQL databases it requires libpq

Re: [Bacula-users] Compiling SD only

2023-11-23 Thread Radosław Korzeniewski
Hello, wt., 14 lis 2023 o 11:53 Chris Wilkinson napisał(a): > Download and compile Sqlite3. > If your catalog database is MySQL or PGSQL instead of sqlite then dbscan on this NAS won't work. Just FYI if you do not know that. -- Radosław Korzeniewski rados...@korzeniewski.net ___

[Bacula-users] undefined symbol: BaculaSDdriver

2023-11-23 Thread Peter Sjoberg
Hi I'm setting up a new backup server (to replace the current one) and fail to get alignment  plugin to work., I installed debian 12 and using community version. Since it's bo bookworm version I go with bullseye. root@quark:~# sed "s/$BKEY//" */etc/apt/sources.list.d/Bacula-Community

Re: [Bacula-users] HOME for client scripts

2023-11-23 Thread Dan Langille
On Thu, Nov 23, 2023, at 10:57 AM, Martin Simmons wrote: > I've just tested it with the Bacula 15 Beta on FreeBSD 12.4 and found that the > value of HOME in the ClientRunBeforeJob script comes from when bacula-fd was > started and Bacula doesn't change it. > > How are you starting Bacula 9.6.7? La

Re: [Bacula-users] HOME for client scripts

2023-11-23 Thread Martin Simmons
I've just tested it with the Bacula 15 Beta on FreeBSD 12.4 and found that the value of HOME in the ClientRunBeforeJob script comes from when bacula-fd was started and Bacula doesn't change it. How are you starting Bacula 9.6.7? Note that FreeBSD's system startup scripts such as /etc/rc and /usr/

[Bacula-users] HOME for client scripts

2023-11-23 Thread Dan Langille
Hello, One of the features of a is a script. I frequently use ClientRunBeforeJob to invoke pg_dump - I'm sure others may do similar. For Bacula 9.6.7, when in that script, the value for $HOME is / The UID is 0, i.e. root. On FreeBSD, root's home directory is /root. I'm not sure why that diffe