File Daemon on raspberry pi

212 views
Skip to first unread message

tilmang...@googlemail.com

unread,
Nov 3, 2021, 10:39:36 AM11/3/21
to bareos-users
Dear all,
has anybody of you (successfully) tried to get a file daemon to run on a RPI?
There seems to be no precompiled binary available which means that one must build it oneself, I guess. Compiling and building seems not to work out of the box. What would I need to do to build it on the RPI and for the RPI?

Thanks
Tilman

Erich Eckner

unread,
Nov 3, 2021, 10:58:25 AM11/3/21
to tilmang...@googlemail.com, bareos-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wed, 3 Nov 2021, 'tilmang...@googlemail.com' via bareos-users wrote:

> Dear all,

Hi,

> has anybody of you (successfully) tried to get a file daemon to run on a
> RPI?

Yes, this is one of my three redundant backup strategies for all my
infrastructure (including several raspis of all kinds).

> There seems to be no precompiled binary available which means that one must
> build it oneself, I guess. Compiling and building seems not to work out of
> the box. What would I need to do to build it on the RPI and for the RPI?

What distributiom do you use? It works quite straight-forwardly on arch
linux (arm):

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=bareos

>
> Thanks
> Tilman

regards, Erich

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAmGCo38ACgkQCu7JB1Xa
e1qsbg/9EOKelHVHfCfEW6DMFDzGdBeEN1qmGoaDQTVvrqQmgjGqnuT5IqNH4Avu
kTBQhXdIxsp3HoZ3Nxl/+h2W+G/lM3SphaFBNvJDTBGO8N/cJFqcXIQMSZYDspaM
RZ4OmebcQTuPR7bXLFdWILi7ya97+7kLwJHS7+yO3Xm6AVAe1VkorJ/HOp3S8wYM
/Ziiduqw3IOdOGgfjwnH332NMoLdK0gn5MxwKbfjtFdlOMh+NzXLEQjGCtagB3Vh
+IUaN5vccCuurkXAzWYwnrvdfTYZUmRoFhhizJKHB25vRHjseuEeM6ipcGGHGiZ+
3F+qACosc6Pt33QaX7PvGNFnCW0pLLa6SL2L+qChDRW6M8OtFtX5A9FRXMOoHccG
vets0fUcUTUBIwJU0FxDy/AiSvRnX4lAwCwSu6iATnfT3aw7kx3YdLcXw31WzKck
pf7OIxwXeMp8/iVLObljiATK7nawdh8hhV33R/RUYSKL4DKmHtGYdFLMsKYtTr8Q
1vunlefvAq+QU46UPX2sXBxH0nGIPeInezNDACemeuDYxONdkh7+tnVB0s4tHUB3
JunstJhYzp1RTgqSZbH1Ld9Dfxz5eHO6ekz15mek1tlHio2iaJi6m8i6b2apKwEg
UrAaAnkMKLmHze55xyds2vbdqX0UrEOys+NZJrgphLIb9qjPTEk=
=/Ld0
-----END PGP SIGNATURE-----

tilmang...@googlemail.com

unread,
Nov 5, 2021, 12:22:25 PM11/5/21
to bareos-users
Hi Erich

>What distributiom do you use? It works quite straight-forwardly on arch
linux (arm):
I am using Raspbian

Arch Linux seems not have the latest version of bareos packaged. The last commit message suggest that bareos V19.2.6 is provided. Do you happen to know if  this compatible to V20.0.x ( that I have installed on the backup server and the other boxes I am backing up) ?

Thanks
Tilman

Erich Eckner

unread,
Nov 5, 2021, 2:48:00 PM11/5/21
to tilmang...@googlemail.com, bareos-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Fri, 5 Nov 2021, 'tilmang...@googlemail.com' via bareos-users wrote:

> Hi Erich

Hi Tilman,

>
> >What distributiom do you use? It works quite straight-forwardly on arch
> linux (arm):
> I am using Raspbian

I think, building (packages) on debian is not as easy as on arch, but
still not too-hard. Unfortunately, my debian-packaging times are long
over, so I cannot really help you with a bareos package for debian.
However, looking at the PKGBUILD, the build is really just "cmake && make
&& make install".

>
> Arch Linux seems not have the latest version of bareos packaged. The last
> commit message suggest that bareos V19.2.6 is provided. Do you happen to
> know if  this compatible to V20.0.x ( that I have installed on the backup
> server and the other boxes I am backing up) ?

Sry, I didn't notice, that the AUR was out-of-date. I personally use a
self-compiled bareos (pretty much identical to the one on aur, but with
the latest version):

https://git.eckner.net/Erich/archlinuxewe/tree/bareos/PKGBUILD

So, I think, you should have little to no trouble by simply bumping the
pkgver and then building bareos.

Answering your question directly anyways: I was running the newest
filedaemon on older storage daemons and directors (major version 1 (or
even 2?) behind) without trouble, but never tried the other way round.
IIRC, running older filedaemons with newer directors/storage daemons is
not recommended.

>
> Thanks
> Tilman

regards,
Erich
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAmGFfFQACgkQCu7JB1Xa
e1r/RQ//bAzqjmroJPWW+qK3erluYEqMxXWN1vlpemkNwDYLC66Xlh5lJFKIS3R+
S6rYKPoEoGCkki1t62JG3qGP53klLtG7DD4pctu1u5RUQa5TGZXA8oI3ASzxvOS6
HCmadChtpjNX+yGxZGlFY7bOlMA4x2A5LKtKTNzWlOw5abHck5wHmUQkH4mM8wGa
tBl5Hj+vvoLbPf8ICFv3q6OJTkZs/ccUe9sSJurOny1AmJr0WZrlSlQNP3vQ/1Yw
XSOACkMMObDpBDWzNm1HmCaD7C/r7LPpw9zlKaYlg1HxhdX3jJE6rETGCXlOp1gu
GI0wDTxHW0NRyXzBcBZG2mct3iqqK9GqLQ8rYQX0tIPVwra/tV9xQu+xUIKdWUhQ
in95z8pugcLQGyuTt2MhC2Xax8TdEZXKci16CBbRSwtVVpzJJIImGZrIBwVmpeTy
s4VD68o8ozFJqZdVd9RAOksBfXWQsTIlfISoPlpjWMFbyahHfsXMkxEJQksD/XhU
GIf6DG5aoqocQIYvNrMB0UcfLUgeoGkewoQqqaY5M1zBSGkgXicyjqn49aFiyEGe
j1oB3B0B50mn+zzrAe4/DUQZQf1mCaIMiVL0sUZ4PlvNn172mpw1WgsN9pepclhC
rJ+EpntYkhYcwWA6Q9XcBSEq055+DX3KGq/7ImuOeawJ81spkt0=
=4ARB
-----END PGP SIGNATURE-----

tilmang...@googlemail.com

unread,
Nov 5, 2021, 5:25:14 PM11/5/21
to bareos-users
>However, looking at the PKGBUILD, the build is really just "cmake && make
>&& make install".
This is what I actually hoped for.  However:

pi@raspberrypi:~ $ git  clone https://github.com/bareos/bareos.git
pi@raspberrypi:~ $ mkdir build_bareos
pi@raspberrypi:~ $ cd build_bareos/
pi@raspberrypi:~ $ cmake ../build_bareos
...
CMake Error at core/CMakeLists.txt:666 (message):
  build with acl requested, but lib not found


I then tried to install  "sudo apt install libacl1-dev" to no avail. cmake does not terminate successfully.

Best Regards
Tilman

Erich Eckner

unread,
Nov 6, 2021, 11:07:28 AM11/6/21
to tilmang...@googlemail.com, bareos-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Fri, 5 Nov 2021, 'tilmang...@googlemail.com' via bareos-users wrote:

> >However, looking at the PKGBUILD, the build is really just "cmake && make
> >&& make install".
> This is what I actually hoped for.  However:
>
> pi@raspberrypi:~ $ git  clone https://github.com/bareos/bareos.git
> pi@raspberrypi:~ $ mkdir build_bareos
> pi@raspberrypi:~ $ cd build_bareos/
> pi@raspberrypi:~ $ cmake ../build_bareos
> ...
> CMake Error at core/CMakeLists.txt:666 (message):
>   build with acl requested, but lib not found
>
>
> I then tried to install  "sudo apt install libacl1-dev" to no avail. cmake
> does not terminate successfully.

archlinux comes with acl 2.3.1 - maybe a lib with 2 major version is
available on debian somewhere, too ("libacl-dev", maybe?). I suspect, that
bareos is not compatible with acl version 1 - but that's just a guess.

regards, Erich
> --
> You received this message because you are subscribed to the Google Groups
> "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bareos-users...@googlegroups.com.
> To view this discussion on the web visithttps://groups.google.com/d/msgid/bareos-users/efde35ac-7c83-4427-b9f8-c9fe
> dd46c8e9n%40googlegroups.com.
>
>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAmGGmiYACgkQCu7JB1Xa
e1q6zw/8CF9dX4Q55iIwSzLDdJPDhbNME6RD3Rh8qIg18qxvsJtb3a/3JH9I0SFu
YpiKrZapKfTKfPoHiiKUWNoqcacjYsKsV8YEmuaMlYa/WMqnZk579OJNIcnhnfs2
4P2i2NiwVxkExMHMsAvG5ztJDWq1nxHq9nxkk6NIvRm1JsERErfcZv6p9eHstQgc
koXctqBpbqZWhlJdVCeIPa6xRtBYN2AROgzOOXq6behiYs432yedcZnR4MZATQiq
Bwhxump4Z1AYngzJNhhUeQ6nrkHqoyTJfVmVla7abiDdCw5Zq+IHwLNBjjayD/Hv
fABKu35j6ciK9nFEoDM9jDfmM14n+KfZGNmrl8HlsdN7dqWfV59KytXL3ugkk8kx
he0+0zLoU19qa1OZQuX6EfEPMFPPARWr0a0CXvfmw07jrJofrUvWb5A168k9zgCB
tTHHwwi0aAkmMlQkzwUNDcqr4QAuByA6nCTLP9GGu3bNqpnN0efUnDHSKF1IVo4q
vpmamdRobU0YAGLbXLWIaq9igl8DW+Wjjs7GrK3fsloLy9V6fRlu5AGDi6ELpouZ
vYS6xsIxa2PIeHOzswnXaR9Q5y7GqkZQAQrc5CXv9v6v2ql1/LLqitdldgkKmPfq
XQEyoA0EvxkwaB9YTJWaYmy2TrxMHSu089jIH8cGOGMB/YWAOFs=
=5CLZ
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages