Package Details: bacula-bat 9.0.6-1

Git Clone URL: (read-only)
Package Base: bacula
Description: Bacula - A Network Backup Tool (management GUI)
Upstream URL:
Licenses: AGPL3
Submitter: None
Maintainer: MarcinWieczorek
Last Packager: MarcinWieczorek
Votes: 30
Popularity: 0.002589
First Submitted: 2014-04-25 13:59
Last Updated: 2017-12-23 16:14

Latest Comments

mejem commented on 2018-02-01 14:10

This doesn't work.

==> Installing bacula package group with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: bacula-dir-sqlite3 and bacula-dir-mariadb are in conflict
==> WARNING: Failed to install built package(s).

It looks like it tries to install all the packages defined in PKGBUILD, not only the one selected.

And since databases are alternatives and only one can be used, there is conflict.

RhizomaticNomad commented on 2017-10-31 01:51

Unfortunately this package doesn't work on with my computer, it ends the installation with "==> ERROR: A failure occurred in package_bacula-common().
:: failed to build bacula-fd,bacula-common package(s)"

Additionally it shows during the installation errors related to crypto.

Anyone else also has this problems?

mfulz commented on 2017-08-02 21:05

Here the new PKGBUILD working with 9.0.2:

# Maintainer: Marcin (CTRL) Wieczorek <>
# Contributor: Tom Keller <>
# Contributor: Daniel Albers <>
# Contributor: Steven Haigh <>
# Contributor: Georg Altmann <>
# bacula-fd.service by Christian Hesse <>

_dir_backends=("${pkgbase}-dir-sqlite3" "${pkgbase}-dir-mariadb" "${pkgbase}-dir-postgresql")
pkgname=("${pkgbase}-common" "${pkgbase}-bat" "${pkgbase}-console" "${pkgbase}-fd" "${pkgbase}-sd" "${pkgbase}-dir" ${_dir_backends[@]} "${pkgbase}-dir-mysql")
arch=(i686 x86_64)
pkgdesc="${pkgbase^} - A Network Backup Tool "
#optdepends=('openssl: network encryption between daemons')
makedepends=('sqlite' 'libmariadbclient' 'postgresql-libs' 'qt4')



prepare() {
cd "${srcdir}/${pkgbase}-${pkgver}"
patch -Np3 -i "${srcdir}/00-qmake4.patch" || true

build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
env CPPFLAGS=-I/usr/include/openssl-1.0 \
LDFLAGS=-L/usr/lib/openssl-1.0 \
./configure \
--enable-smartalloc \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc/${pkgbase} \
--with-scriptdir=/etc/${pkgbase}/scripts \
--with-sqlite3 \
--with-mysql \
--with-postgresql \
--with-pid-dir=/run \
--with-systemd=/usr/lib/systemd/system \
--with-logdir=/var/log/${pkgbase} \
--with-working-dir="${_workdir}" \
--with-openssl \

make DESTDIR="${srcdir}/install" install

package_bacula-bat() {
pkgdesc+="(management GUI)"
depends=("${pkgbase}-common=${pkgver}" 'qt4')

cd "${srcdir}/install"
cp --parents -a usr/bin/bat "${pkgdir}"
cp --parents -a etc/${pkgbase}/bat.conf "${pkgdir}"
cp --parents -a usr/share/man/man1/bat.1.gz "${pkgdir}"

chmod 755 "${pkgdir}/etc/${pkgbase}" "${pkgdir}/usr/bin/bat"
chmod 644 "${pkgdir}/etc/${pkgbase}/bat.conf"

mkdir -p "${pkgdir}/usr/share/applications" "${pkgdir}/usr/share/pixmaps"
cp -a "${srcdir}/${pkgbase}-${pkgver}/scripts/bat.desktop" "${pkgdir}/usr/share/applications/"
cp -a "${srcdir}/${pkgbase}-${pkgver}/src/qt-console/images/bat_icon.png" "${pkgdir}/usr/share/pixmaps/"

package_bacula-fd() {
pkgdesc+="(file daemon)"
optdepends=('openssl: network encryption between daemons'
'lzo: LZO compression for Storage Daemon')

cd "${srcdir}/install"
cp --parents -a etc/${pkgbase}/${pkgname}.conf "${pkgdir}"
cp --parents -a usr/bin/${pkgname} "${pkgdir}"
cp --parents -a usr/lib/ "${pkgdir}"
cp --parents -a usr/share/man/man8/${pkgname}.8.gz "${pkgdir}"

mkdir -p "${pkgdir}/usr/lib/systemd/system/"
cp -f "${srcdir}/${pkgbase}-fd.service" "${pkgdir}/usr/lib/systemd/system/"

package_bacula-common() {
pkgdesc+="(common files)"

cd "${srcdir}/install"
cp --parents -a etc/${pkgbase}/scripts/${pkgbase}_config "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/btraceback.gdb "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/btraceback.dbx "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/btraceback.mdb "${pkgdir}"
cp --parents -a usr/bin/btraceback "${pkgdir}"
cp --parents -a usr/lib/libbac-${pkgver}.so "${pkgdir}"
cp --parents -a usr/lib/libbaccfg-${pkgver}.so "${pkgdir}"
cp --parents -a usr/lib/libbacfind-${pkgver}.so "${pkgdir}"
cp --parents -a usr/share/man/man8/btraceback.8.gz "${pkgdir}"
#cp --parents -a usr/lib/libbacpy-${pkgver}.so "${pkgdir}"

mkdir -p "${pkgdir}${_workdir}"
mkdir -p "${pkgdir}/var/log/${pkgbase}"

package_bacula-console() {
pkgdesc+="(management CLI)"

cd "${srcdir}/install"
cp --parents -a usr/bin/bconsole "${pkgdir}"
cp --parents -a etc/${pkgbase}/bconsole.conf "${pkgdir}"
cp --parents -a usr/share/man/man8/bconsole.8.gz "${pkgdir}"

chmod 755 "${pkgdir}/etc/${pkgbase}" "${pkgdir}/usr/bin/bconsole"
chmod 644 "${pkgdir}/etc/${pkgbase}/bconsole.conf"

package_bacula-dir() {
optdepends=("${pkgname}-sqlite3: SQLite support"
"${pkgname}-mariadb: MariaDB support"
"${pkgname}-postgresql: PostgreSQL support")

cd "${srcdir}/install"
cp --parents -a etc/${pkgbase}/${pkgname}.conf "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/query.sql "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/create_${pkgbase}_database "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/delete_catalog_backup "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/drop_${pkgbase}_database "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/drop_${pkgbase}_tables "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/grant_${pkgbase}_privileges "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/make_${pkgbase}_tables "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/ "${pkgdir}"
cp --parents -a etc/${pkgbase}/scripts/update_${pkgbase}_tables "${pkgdir}"
cp --parents -a usr/bin/${pkgname} "${pkgdir}"
cp --parents -a usr/bin/bregex "${pkgdir}"
cp --parents -a usr/bin/bsmtp "${pkgdir}"
cp --parents -a usr/bin/bwild "${pkgdir}"
cp --parents -a usr/bin/dbcheck "${pkgdir}"
cp --parents -a usr/share/man/man1/bsmtp.1.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/${pkgname}.8.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/bregex.8.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/bwild.8.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/dbcheck.8.gz "${pkgdir}"
cp --parents -a usr/lib/libbacsql-${pkgver}.so "${pkgdir}"

mkdir -p "${pkgdir}/usr/lib/systemd/system/"
cp -f "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/"

## Logwatch Support
mkdir -p "${pkgdir}/etc/logwatch/scripts/services/" "${pkgdir}/etc/logwatch/scripts/shared/"
mkdir -p "${pkgdir}/etc/logwatch/conf/logfiles/" "${pkgdir}/etc/logwatch/conf/services/"
cp -a "${srcdir}/${pkgbase}-${pkgver}/scripts/logwatch/${pkgbase}" "${pkgdir}/etc/logwatch/scripts/services/"
cp -a "${srcdir}/${pkgbase}-${pkgver}/scripts/logwatch/applybaculadate" "${pkgdir}/etc/logwatch/scripts/shared/"
cp -a "${srcdir}/${pkgbase}-${pkgver}/scripts/logwatch/logfile.${pkgbase}.conf" "${pkgdir}/etc/logwatch/conf/logfiles/${pkgbase}.conf"
cp -a "${srcdir}/${pkgbase}-${pkgver}/scripts/logwatch/services.${pkgbase}.conf" "${pkgdir}/etc/logwatch/conf/services/${pkgbase}.conf"

## Logrotate Support
mkdir -p ${pkgdir}/etc/logrotate.d/
cp -a ${srcdir}/${pkgbase}-${pkgver}/scripts/logrotate ${pkgdir}/etc/logrotate.d/${pkgbase}

package_bacula-dir-mariadb() {
pkgdesc+="(Director - MariaDB support)"
depends=("${pkgbase}-dir" 'libmariadbclient')

cd "${srcdir}/install"
cp --parents -a usr/lib/libbaccats-mysql-${pkgver}.so "${pkgdir}"
cp --parents -a usr/lib/ "${pkgdir}"
cp -d usr/lib/ ${pkgdir}/usr/lib/libbaccats-${pkgver}.so
for file in etc/${pkgbase}/scripts/*mysql*; do
cp --parents -a "${file}" "${pkgdir}"

package_bacula-dir-mysql() {
pkgdesc+="(transition package)"

package_bacula-dir-postgresql() {
pkgdesc+="(Director - PostgreSQL support)"
depends=("${pkgbase}-dir" 'postgresql-libs')

cd "${srcdir}/install"
cp --parents -a usr/lib/libbaccats-postgresql-${pkgver}.so "${pkgdir}"
cp --parents -a usr/lib/ "${pkgdir}"
cp -d usr/lib/ "${pkgdir}/usr/lib/libbaccats-${pkgver}.so"
for file in etc/${pkgbase}/scripts/*postgresql*; do
cp --parents -a "${file}" "${pkgdir}"

package_bacula-dir-sqlite3() {
pkgdesc+="(Director - SQLite3 support)"
depends=("${pkgbase}-dir" 'sqlite')

cd "${srcdir}/install"
cp --parents -a usr/lib/libbaccats-sqlite3-${pkgver}.so "${pkgdir}"
cp --parents -a usr/lib/ "${pkgdir}"
cp -d usr/lib/ "${pkgdir}/usr/lib/libbaccats-${pkgver}.so"
for file in etc/${pkgbase}/scripts/*sqlite3*; do
cp --parents -a "${file}" "${pkgdir}"

package_bacula-sd() {
pkgdesc+="(Storage Daemon)"
optdepends=('openssl: network encryption between daemons'
'lzo: LZO compression for Storage Daemon')

cd "${srcdir}/install"
cp --parents -a etc/${pkgbase}/${pkgname}.conf "${pkgdir}"
cp --parents -a usr/lib/libbacsd-${pkgver}.so "${pkgdir}"
cp --parents -a usr/bin/${pkgname} "${pkgdir}"
cp --parents -a usr/bin/bextract "${pkgdir}"
cp --parents -a usr/bin/bls "${pkgdir}"
cp --parents -a usr/bin/bcopy "${pkgdir}"
cp --parents -a usr/bin/bscan "${pkgdir}"
cp --parents -a usr/bin/btape "${pkgdir}"
cp --parents -a usr/share/man/man8/${pkgname}.8.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/bextract.8.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/bls.8.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/bcopy.8.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/bscan.8.gz "${pkgdir}"
cp --parents -a usr/share/man/man8/btape.8.gz "${pkgdir}"

mkdir -p "${pkgdir}${_workdir}"
mkdir -p "${pkgdir}/usr/lib/systemd/system/"
cp -f "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/"

mfulz commented on 2017-07-23 17:21

Patch for the last 7.4.7 version. I've to test the 9.0.x when I've got some spare time before I'll switch. Will create an aur for it, if everything will be smooth.

--- PKGBUILD_OLD 2017-07-23 19:17:08.859149620 +0200
+++ PKGBUILD 2017-07-23 19:18:12.396152238 +0200
@@ -7,41 +7,32 @@

_dir_backends=("${pkgbase}-dir-sqlite3" "${pkgbase}-dir-mariadb" "${pkgbase}-dir-postgresql")
-pkgname=("${pkgbase}-common" "${pkgbase}-console" "${pkgbase}-fd" "${pkgbase}-bat" "${pkgbase}-sd" "${pkgbase}-dir" ${_dir_backends[@]} "${pkgbase}-dir-mysql")
+pkgname=("${pkgbase}-common" "${pkgbase}-console" "${pkgbase}-fd" "${pkgbase}-sd" "${pkgbase}-dir" ${_dir_backends[@]} "${pkgbase}-dir-mysql")
arch=(i686 x86_64)
pkgdesc="${pkgbase^} - A Network Backup Tool "
-optdepends=('openssl: network encryption between daemons')
+#optdepends=('openssl: network encryption between daemons')
makedepends=('sqlite' 'libmariadbclient' 'postgresql-libs' 'qt4')
- 'bacula-sd.service'
- '00-qmake4.patch'
- '01-basename.patch')
+ 'bacula-sd.service')

- 'a682cd35bf2a85fd7274f4241a91483c53c43f37'
- '58a60e8af9b4735c564c7223c2bf0c25803927f3'
- 'ff9549b8ea326654bad5987c820f6dfd629fce54')
+ 'a682cd35bf2a85fd7274f4241a91483c53c43f37')


-prepare() {
- cd "${srcdir}/${pkgbase}-${pkgver}"
- patch -Np3 -i "${srcdir}/00-qmake4.patch" || true
- patch -Np2 -i "${srcdir}/01-basename.patch" || true
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
+ env CPPFLAGS=-I/usr/include/openssl-1.0 \
LDFLAGS=-L/usr/lib/openssl-1.0 \
./configure \
- --enable-bat \
--enable-smartalloc \
--prefix=/usr \
--sbindir=/usr/bin \
@@ -54,6 +45,7 @@
--with-systemd=/usr/lib/systemd/system \
--with-logdir=/var/log/${pkgbase} \
--with-working-dir="${_workdir}" \
+ --with-openssl=/usr/lib/openssl-1.0 \

make DESTDIR="${srcdir}/install" install

barkley128 commented on 2017-07-21 10:12

It's and old version (9.0.1 is already out) and it doesn't compile on my Arch.
Something wrong with the ./configure step.

maleckii commented on 2016-09-12 05:34

Unfortunately, I am no longer using Arch Linux and must disown this package.

mfulz commented on 2016-09-11 10:39

Could you update the package to 7.4.3 it fixes the issues with actual gcc and the crashes during status.

badbytes commented on 2016-07-13 19:06

==> Starting package_bacula-bat()...
~/aur_build/bacula/install ~/aur_build/bacula/src
cp: cannot stat 'usr/bin/bat': No such file or directory
==> ERROR: A failure occurred in package_bacula-bat().

SebiH commented on 2016-07-05 10:57

Has anyone tried this with a recent version of GCC (e.g. gcc-6.1.1-2)?

bacula-sd seems to crash on startup due to either a bug within bacula-sd or GCC. I've filed a bug report against bacula [1], but he points towards GCC (since it works fine with -O0, or a previous version of GCC, e.g. gcc-5.4.x).

Haven't read about this anywhere else. Is this just an issue on my setup?

[1]: (login is anonymous/anonymous)

ektich commented on 2016-03-27 17:14

alsa-utils 1.1.0-2 has been released that fixes the name conflict on /usr/bin/bat. There is no need to apply my patch anymore.

ektich commented on 2016-03-21 10:14

I've opened bug report against alsa-utils:

ektich commented on 2016-03-09 17:51

I agree, if alsa-utils will rename their binary there's no point in temporarily renaming bat in here. I should warn people using my patch that it is somehow incomplete: it won't modify the /usr/share/applications/bat.desktop file, rendering the icon in the menu unworkable. I think to make it work again one should change "Exec" line to be "Exec=/usr/bin/bacula-bat -c /etc/bacula/bat.conf"

maleckii commented on 2016-03-09 17:21

From what I can gather in discussions on both the Debian mailing lists and the alsa-utils upstream lists, this should be handled by patching alsa-utils upstream. There is an upstream patch under review for alsa-utils, but they haven't yet reached consensus on the new name for their /usr/bin/bat.

I don't think it would be proper to rename this package's binary because alsa-utils is likely to change their name in the near future and going back and forth would cause confusion. In the meantime, feel free to apply ekitch's patch to PKGBUILD as a temporary workaround. That said, I am also unsure what Arch's policy is on situations like this.

ektich commented on 2016-03-09 10:02

EDIT: alsa-utils 1.1.0-2 has been released that fixes the name conflict. This comment is left here for historical reasons.

the file name conflict between bacula-bat-7.4.0-1 and alsa-utils-1.1.0-1 still exists.
I've created a patch that install bacula's bat as /usr/bin/bacula-bat.

kisanth commented on 2016-03-04 15:18

Remove parentheses from install statements:
install=("bacula.install") => install="bacula.install"
Add parentheses to provides and replaces:
provides="${pkgbase}-dir-mysql" => provides=("${pkgbase}-dir-mysql")
replaces="${pkgbase}-dir-mysql" => replaces=("${pkgbase}-dir-mysql")

Now it will work...

boscowitch commented on 2016-02-26 13:10

Though about testing it if it's worth deploying...
unforunately it fails install right at the beginning no mather if I say yes or no to:
Install only bacula-bat ? [Y/n]
==> -------------------------------
==> ERROR: install should not be an array
==> ERROR: install should not be an array
==> ERROR: install should not be an array
==> ERROR: install should not be an array
==> ERROR: install should not be an array
==> ERROR: install should not be an array
==> ERROR: provides should be an array
==> ERROR: replaces should be an array
==> ERROR: install should not be an array
==> ERROR: install should not be an array
==> ERROR: Makepkg was unable to build bacula.

Thats always the result...

morlix commented on 2015-11-20 07:51

The current PKGBUILD doesn't create the working directory if only bacula-common, bacula-console and bacula-fd will be installed.

CptnChristo commented on 2015-11-17 23:55

With release of core package alsa-utils-1.1.0-1, there is a name conflict for /usr/bin/bat (i.e. the bacula administration tool). I'm passing along this info in case AUR packages must be modified to avoid conflicts with core packages.

maleckii commented on 2015-11-02 05:58

Since I'm actively using this in production, I may as well maintain it.

* Updated to 7.2.0
* /var/log/bacula is now created by the package
* Hostname in config files is now generated at package install time
* Removed tcp_wrappers support, since tcp_wrappers hasn't been in Arch for some time, and I'm not sure anyone is actually using it.

AlD commented on 2015-10-31 13:43

FYI, I'm disowning these packages as I moved on to Bareos.

georgnix commented on 2015-10-02 09:12

I tested disaster recovery with the new 7.2.0 version yesterday. It worked with some fiddling around. Just to document it here, there are some more or less minor glitches with the packaging:

* /var/log/bacula is not created by the packages, this causes the start of the director to fail.
* /etc/bacula/scripts is not readable for user postgres. Thus database scripts cannot be executed properly. I think it would it be OK to have /etc/bacula and children world readable as long as the config files are only readable by root (clear text passwords).
* Generated config files are in the package, i.e. static. They should be generated at package installation to have unique passwords and proper hostname.

If anybody wants to fix the PKGBUILD, go ahead. I probably won't find the time to do it myself.

georgnix commented on 2015-10-01 14:29

I created an updated PKGBUILD for bacula 7.2.0 with additional minor fixes.

Diff against the old PKGBUILD to see the changes.

lka commented on 2015-09-21 15:04

Installation successful, systemctl status bacula-fd successful loaded and running, but server (bacula-dir, 2nd maschine) can't connect to client (arch).
Nmap shows tcp port 9102 st up, but servers bconsole (status client arch) says no. By the way all other systems (non-arch) work fine, so i think my configuration is ok. I don't know why there is no respone from bacula-fd.

xisberto commented on 2015-09-02 15:43

Anyone can successfully install bacula-fd?

It depends on tcp_wrappers, but its upstream URL can not be reached.

wespe commented on 2015-04-16 05:54

When trying to install the build package I get the following error:

error: missing package metadata in bacula-7.0.5.tar.gz
error: 'bacula-7.0.5.tar.gz': invalid or corrupted package

AlD commented on 2015-03-06 01:13

Oh and configure flags haven't changed, tcp_wrappers were always enabled.

AlD commented on 2015-03-06 01:04

Thanks for the patch, georgnix. Tweaked it slightly, let me know if there are problems.

georgnix commented on 2015-03-04 21:29


Download the AUR tarball, extract, download the patch, then
$ patch -p0 < 2015-03-04-PKGBUILD.patch
$ makepkg
Install the relevant packages with pacman.

lockheed commented on 2015-03-04 20:15

@georgnix, I see you wrote a patch that might address my problem.

After installing bacula on server, when I try to run bacula-dir, I get
bacula-dir: error while loading shared libraries: cannot open shared object file: No such file or directory

If you patch solves it, then how do I apply it? I have no idea how to do it.

georgnix commented on 2015-03-04 17:35

@AlD Did you change the configure flags since 7.0.4?
Suddenly bacula daemons respect /etc/hosts.allow which I had to find out the hard way
bacula-dir -d 10000 ... also gives every config lexer token ... *YUCK*

Does anybody use tcp wrappers? I don't and would be happy if this would be removed from the build. There are firewalls these days...

georgnix commented on 2015-03-04 16:28

# Patch for bacula AUR package.
# Date: 2015-03-04 Georg Altmann <>
# 1) Create working directory on install.
# 2) Install with the current version in the filename instead of
# 7.0.3
# 3) Make bacula-dir-* backend packages conflict with each other: They install
# the same file/symlink ${pkgdir}/usr/lib/libbaccats-${pkgver}.so

ill commented on 2015-02-08 05:16

@khouli: Remove all of teh bacular-dir-* from the PKGBUILD and install them one-by-one if you need them.

ill commented on 2015-02-08 05:14


Remove those from the PKGBUILD and then install them after.

ill commented on 2015-02-08 04:45


Edit the PKGBUILD to only include bacula-bat, bacula-common, and bacula-dir. If you need db support you can add those after.

lockheed commented on 2015-01-29 10:04

Could you make it compatible with armv6h (Raspberry Pi)? Even if I manually add this arch to PKGBUILD, I get lib install warnings during compilation and meta errors prevent from installing the compiled package.

khouli commented on 2015-01-01 07:17

If I try to install aur/bacula-common I get this:

error: failed to commit transaction (conflicting files)
/usr/lib/ exists in both 'bacula-dir-mariadb' and 'bacula-dir-postgresql'
/usr/lib/ exists in both 'bacula-dir-mariadb' and 'bacula-dir-sqlite3'
/usr/lib/ exists in both 'bacula-dir-postgresql' and 'bacula-dir-sqlite3'
Errors occurred, no packages were upgraded.

No /usr/lib/libbac* exists on my computer and querying pacman shows that I have no bacula components installed. This seems to be an issue with the package itself.

I'm also getting a failing PGP signature for aur/bacula-client.

Suggestions? Thanks.

AlD commented on 2014-12-01 00:22

Updated, thanks.

PLum commented on 2014-11-26 14:44

version 7.0.5 is on the air :-)

AlD commented on 2014-07-23 10:30

Sure, thanks.

Anonymous comment on 2014-07-23 10:29

To be honest, I don't use arch linux anymore - nor Bacula....

If you'd like to take these packages over, I'd be more than happy to orphan them....

AlD commented on 2014-07-23 09:38

I was about to create a split package for bacula when I noticed that you already incorporated all the other packages into this one. If you'd like to adopt my packages bacula-common, -bat, -fd, -console, I'd orphan them. Let me know.

Would you be also interested in maintaining a bareos version of this?

Anonymous comment on 2014-05-08 02:27

This split package builds the following:
bacula-bat - management GUI
bacula-client - Client (bacula-fd)
bacula-common - common files
bacula-console - management CLI
bacula-dir - director daemon
bacula-dir-mysql - director daemon - mysql support
bacula-dir-postgresql - director daemon - postgresql support
bacula-dir-sqlite3 - director daemon - sqlite3 support
bacula-sd - storage daemon

maleckii commented on 2014-01-19 21:51

I do use this. I'll adopt it.

macxcool commented on 2013-10-02 20:20

I don't use this anymore and there doesn't seem to be much interest in it. I'm disowning it.

nemamradfazole commented on 2013-09-27 16:05

Improvements are as follows:
1. mkdir -p nonexisting directory in PKGBUILD
2. chown only in post_install, never in PKGBUILD
3. in DB scripts use mysql -p for asking for password
4. refrain from using rc.d scripts, Arch Linux works with systemd

nemamradfazole commented on 2013-09-27 16:02

Improvements are as follows:
1. mkdir -p nonexisting directory in PKGBUILD
2. chown only in post_install, never in PKGBUILD
3. in DB scripts use mysql -p for asking for password

nemamradfazole commented on 2013-09-27 15:31

After manually adding bacula:bacula, there's another error - cannot touch pkg/bacula-mariadb/var/log/bacula.log, there's no log under var... please double check PKGBUILDs before posting them in AUR.

nemamradfazole commented on 2013-09-27 15:08

During build of the package, chown cannot change to „bacula:bacula“ (the user doesn't exist), could you please correct that?

macxcool commented on 2013-06-11 14:26

This package is meant to replace the 'bacula-mysql' package (which replaced the 'bacula' package when it got kicked to the AUR). It is based on the great bacula-postgresql package.

macxcool commented on 2013-06-11 14:25

I've created a bacula-mariadb package to replace this one. I'm disowning this package. The new package is modelled after the very-nice bacula-postgresql package.

macxcool commented on 2013-06-10 12:31

I'll be doing some work on this one in the next day or two. I'm upgrading to the newest version and switching over to MariaDB as well. I'll be disowning this package and creating a new bacula-mariadb package. I'm doing the upgrade on my own server, so I'll test things there.

Malvineous commented on 2013-06-10 01:40

To make this work with the recent removal of /usr/sbin, edit the PKGBUILD and add "--sbindir=/usr/bin" to the "./configure" line. You'll also have to change "sbin" to "bin" in the "chmod" command on the second last line.

You can also remove the line "--enable-bat --enable-tray-monitor --enable-bwx-console" if you don't want the Qt dependency.

I also got these errors trying to start the updated daemon:

$ systemctl start bacula-fd
Failed to issue method call: Unit failed to load: No such file or directory. See system logs and 'systemctl status' for details.
$ systemctl status
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)

To fix this I edited /usr/lib/systemd/system/bacula-fd.service and removed "" from two lines. I think this should be removed because systemd is supposed to be handling logging now.

Anonymous comment on 2013-04-29 19:40

Not sure why, but the when I run makepkg -s I get lots of errors about directories that are not created. I did modify the PKGBUILD to put things in different directories, but does this have to be manually specified elsewhere? I did that in a couple instances, but after rerunning I get the same error for some other directory that is missing.

JoKoT3 commented on 2013-03-20 18:21

You should add a depend to syslog, with a full systemd install, I have the following error when starting services from systemd :
Failed to issue method call: Unit failed to load

AlD commented on 2013-03-08 14:28

@mfulz: You're experiencing the same problem as previous commenters, which I cannot reproduce on a vanilla Arch installation.
AFAIK ${srcdir}/bacula-${pkgver}/src/qt-console/bat would be the libtool script.

mfulz commented on 2013-03-06 21:13

Tried to update today and receive:
make[1]: Leaving directory `/tmp/yaourt-tmp-olz/aur-bacula-bat/src/bacula-5.2.13/manpages'
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat ‘/tmp/yaourt-tmp-olz/aur-bacula-bat/src/bacula-5.2.13/src/qt-console/.libs/bat’: No such file or directory

Could you change the PKGBUILD at line 39:
install -m755 ${srcdir}/bacula-${pkgver}/src/qt-console/.libs/bat ${pkgdir}/usr/bin/bat

install -m755 ${srcdir}/bacula-${pkgver}/src/qt-console/bat ${pkgdir}/usr/bin/bat

AlD commented on 2013-03-04 10:00

Yea, annoyingly symlinks in the qt4 package were changed multiple times. Hope we're sticking with qmake-qt4 now.

mfulz commented on 2013-03-01 23:57

you're checking in the qmake4 patch for qmake4, which is not installed with the needed deps.

As a workaround I symlinked qmake4 to qmake-qt4, but I think it would be better to adjust the patch using qmake-qt4 directly?



AlD commented on 2013-03-01 12:22

Thanks, updated.

BertVoegele commented on 2013-03-01 11:30

1. qt is now qt4
2. bacula-5.2.13 is out

AlD commented on 2013-02-04 16:10

Unfortunately I'm unable reproduce that problem.

Anonymous comment on 2013-01-23 19:46

Having same problem. Whole output here:

AlD commented on 2013-01-22 15:42

@slot: Please provide the whole output, e. g. via

slot commented on 2013-01-22 14:47

I get error here in the end:
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat ‘/tmp/..../aur-bacula-bat/src/bacula-5.2.12/src/qt-console/.libs/bat’: No such file or directory
==> ERROR: A failure occurred in package().
==> ERROR: Makepkg was unable to build bacula-bat.
==> Restart building bacula-bat ? [y/N]

BertVoegele commented on 2012-10-30 22:12

@slot : unfortunately "bat" is not included in "bacula-client".

slot commented on 2011-03-12 22:50

FYI: Bat is also included in bacula-client

Anonymous comment on 2010-10-01 09:34

For 5.0.3 version: