Re: bacula on a FuriLabs FLX1s phone

Chris Wilkinson <[email protected]> Tue, 2 Jun 2026 08:08:49 +0100
Newsgroups gmane.comp.bacula.user
Message-ID <CAHUKsLKzN5M9rvxW6rka30KHTENbynK8WS=ojRgpydwS0=nP6A@mail.gmail.com>
--===============2339525490850761417==
Content-Type: multipart/alternative; boundary="0000000000003de2f706533ffcba"

--0000000000003de2f706533ffcba
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Run bacula-fd -t in a terminal to check for config errors.

-Chris-

On Tue, 2 Jun 2026, 05:23 Russell Kackley, <[email protected]> wrote:

> Gary,
>
> I think your problem is in this line:
>
> Director =3D {
>
> Delete the "=3D" and try again.
>
> On Mon, Jun 1, 2026 at 5:30=E2=80=AFPM Gary Dale <[email protected]>=
 wrote:
>
>> One of the benefits of running Linux on a phone is that it runs all the
>> software I'm used to. I thought it would be easy to run Bacula to backup
>> the phone daily. That wasn't quite the case.
>>
>> The first sticking point was that the phone kept changing its MAC
>> address. which made it impossible to preserve an IP (unless I wanted to
>> never use public WiFi anymore). Fortunately the developers fixed that so
>> it now picks up a reserved DHCP address from my home router.
>>
>> My first thought was to just duplicate my workstation's setup on my
>> bacula server and copy the workstation's -fd.conf file to my phone and
>> adjust it.
>>
>> Seems to almost work. I can start a job on the server and it will try to
>> run it but fails after 3 minutes because it can't communicate with the
>> phone's fd.
>>
>> Looking on the phone, bacula-fd isn't starting (see below).
>>
>> What I can't figure out is why. Any help would be appreciated.
>>
>> My bacula-fd.conf on the phone is:
>>
>> cat bacula-fd.conf
>> #
>> # Default  Bacula File Daemon Configuration file
>> #
>> # There is not much to change here except perhaps the
>> # File daemon Name to
>> #
>> #
>> # Copyright (C) 2000-2023 Kern Sibbald
>> # License: BSD 2-Clause; see file LICENSE-FOSS
>> #
>>
>> #
>> # List Directors who are permitted to contact this File daemon
>> #
>> Director {
>>    Name =3D FuriPhoneFLX1s-dir
>>    Password =3D "<same as on server & workstation>"
>> }
>>
>> Director =3D {
>>    Name =3D TheLibrarian-dir   # bacula server
>>    Password =3D "<same as on server & workstation>"
>> }
>>
>> #
>> # Restricted Director, used by tray-monitor to get the
>> #   status of the file daemon
>> #
>>
>> Director {
>>    Name =3D FuriPhoneFLX1s-mon
>>    Password =3D "<random  password - not sure where it is used>"
>>    Monitor =3D yes
>> }
>>
>> #
>> # "Global" File daemon configuration specifications
>> #
>> FileDaemon {                          # this is me
>>    Name =3D FuriPhoneFLX1s-fd
>>    FDport =3D 9102                  # where we listen for the director
>>    WorkingDirectory =3D /var/lib/bacula
>>    Pid Directory =3D /run/bacula
>>    Maximum Concurrent Jobs =3D 20
>>    Plugin Directory =3D /usr/lib/bacula
>>    FDAddress =3D <phone's IP address>
>> }
>>
>> # Send all messages except skipped files back to Director
>> Messages {
>>    Name =3D Standard
>>    director =3D FuriPhoneFLX1s-dir =3D all, !skipped, !restored, !verifi=
ed,
>> !saved
>> }
>>
>> -------------------------
>>
>> systemd output
>>
>> --------------------------
>>
>> # systemctl status bacula-fd.service
>> =E2=97=8F bacula-fd.service - Bacula File Daemon service
>>       Loaded: loaded (/usr/lib/systemd/system/bacula-fd.service;
>> enabled; preset: enabled)
>>       Active: activating (auto-restart) (Result: exit-code) since Mon
>> 2026-06-01 17:39:09 EDT; 47s ago
>>   Invocation: 5c3dcb2ce66741599440a8c7185419d0
>>         Docs: man:bacula-fd(8)
>>      Process: 1395076 ExecStartPre=3D/usr/sbin/bacula-fd -t -c $CONFIG
>> (code=3Dexited, status=3D1/FAILURE)
>>          CPU: 13ms
>>
>> Jun 01 17:39:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service: Control
>> process exited, code=3Dexited, status=3D1/FAILURE
>> Jun 01 17:39:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service: Failed
>> with result 'exit-code'.
>> Jun 01 17:39:09 FuriPhoneFLX1s systemd[1]: Failed to start
>> bacula-fd.service - Bacula File Daemon service.
>>
>> and
>>
>> # journalctl -xeu bacula-fd.service
>> =E2=96=91=E2=96=91 Support: https://www.debian.org/support
>> =E2=96=91=E2=96=91
>> =E2=96=91=E2=96=91 A start job for unit bacula-fd.service has begun exec=
ution.
>> =E2=96=91=E2=96=91
>> =E2=96=91=E2=96=91 The job identifier is 154579.
>> Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: bacula-fd: ERROR
>> TERMINATION at parse_conf.c:1722
>> Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: Config error:
>> unexpected token 110 T_EQUALS in resource definition
>> Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]:             : line
>> 21, col 10 of file /etc/bacula/bacula-fd.conf
>> Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: Director =3D {
>> Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: 01-Jun 17:41
>> bacula-fd: ERROR TERMINATION at parse_conf.c:1722
>> Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: Config error:
>> unexpected token 110 T_EQUALS in resource definition
>> Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]:             : line
>> 21, col 10 of file /etc/bacula/bacula-fd.conf
>> Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: Director =3D {
>> Jun 01 17:41:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service: Control
>> process exited, code=3Dexited, status=3D1/FAILURE
>> =E2=96=91=E2=96=91 Subject: Unit process exited
>> =E2=96=91=E2=96=91 Defined-By: systemd
>> =E2=96=91=E2=96=91 Support: https://www.debian.org/support
>> =E2=96=91=E2=96=91
>> =E2=96=91=E2=96=91 An ExecStartPre=3D process belonging to unit bacula-f=
d.service has
>> exited.
>> =E2=96=91=E2=96=91
>> =E2=96=91=E2=96=91 The process' exit code is 'exited' and its exit statu=
s is 1.
>> Jun 01 17:41:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service: Failed
>> with result 'exit-code'.
>> =E2=96=91=E2=96=91 Subject: Unit failed
>> =E2=96=91=E2=96=91 Defined-By: systemd
>> =E2=96=91=E2=96=91 Support: https://www.debian.org/support
>> =E2=96=91=E2=96=91
>> =E2=96=91=E2=96=91 The unit bacula-fd.service has entered the 'failed' s=
tate with result
>> 'exit-code'.
>> Jun 01 17:41:09 FuriPhoneFLX1s systemd[1]: Failed to start
>> bacula-fd.service - Bacula File Daemon service.
>> =E2=96=91=E2=96=91 Subject: A start job for unit bacula-fd.service has f=
ailed
>> =E2=96=91=E2=96=91 Defined-By: systemd
>> =E2=96=91=E2=96=91 Support: https://www.debian.org/support
>> =E2=96=91=E2=96=91
>> =E2=96=91=E2=96=91 A start job for unit bacula-fd.service has finished w=
ith a failure.
>> =E2=96=91=E2=96=91
>>
>>
>>
>> _______________________________________________
>> Bacula-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>
>
> --
> Russell Kackley
> Subaru Telescope
> Hilo, Hawaii
>
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

--0000000000003de2f706533ffcba
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div>Run bacula-fd -t in a terminal to check for config e=
rrors.</div><div><br></div><div data-smartmail=3D"gmail_signature">-Chris-<=
/div></div><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D=
"ltr" class=3D"gmail_attr">On Tue, 2 Jun 2026, 05:23 Russell Kackley, &lt;<=
a href=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br></d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left=
:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Gary,<div><br></div><div=
>I think your problem is in this line:</div><div><br></div><div>Director =
=3D {</div><div><br></div><div>Delete=C2=A0the &quot;=3D&quot; and try agai=
n.</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmai=
l_attr">On Mon, Jun 1, 2026 at 5:30=E2=80=AFPM Gary Dale &lt;<a href=3D"mai=
lto:[email protected]" target=3D"_blank" rel=3D"noreferrer">gary@extre=
meground.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex">One of the benefits of running Linux on a phone is that it runs=
 all the <br>
software I&#39;m used to. I thought it would be easy to run Bacula to backu=
p <br>
the phone daily. That wasn&#39;t quite the case.<br>
<br>
The first sticking point was that the phone kept changing its MAC <br>
address. which made it impossible to preserve an IP (unless I wanted to <br=
>
never use public WiFi anymore). Fortunately the developers fixed that so <b=
r>
it now picks up a reserved DHCP address from my home router.<br>
<br>
My first thought was to just duplicate my workstation&#39;s setup on my <br=
>
bacula server and copy the workstation&#39;s -fd.conf file to my phone and =
<br>
adjust it.<br>
<br>
Seems to almost work. I can start a job on the server and it will try to <b=
r>
run it but fails after 3 minutes because it can&#39;t communicate with the =
<br>
phone&#39;s fd.<br>
<br>
Looking on the phone, bacula-fd isn&#39;t starting (see below).<br>
<br>
What I can&#39;t figure out is why. Any help would be appreciated.<br>
<br>
My bacula-fd.conf on the phone is:<br>
<br>
cat bacula-fd.conf<br>
#<br>
# Default=C2=A0 Bacula File Daemon Configuration file<br>
#<br>
# There is not much to change here except perhaps the<br>
# File daemon Name to<br>
#<br>
#<br>
# Copyright (C) 2000-2023 Kern Sibbald<br>
# License: BSD 2-Clause; see file LICENSE-FOSS<br>
#<br>
<br>
#<br>
# List Directors who are permitted to contact this File daemon<br>
#<br>
Director {<br>
=C2=A0=C2=A0 Name =3D FuriPhoneFLX1s-dir<br>
=C2=A0=C2=A0 Password =3D &quot;&lt;same as on server &amp; workstation&gt;=
&quot;<br>
}<br>
<br>
Director =3D {<br>
=C2=A0=C2=A0 Name =3D TheLibrarian-dir=C2=A0 =C2=A0# bacula server<br>
=C2=A0=C2=A0 Password =3D &quot;&lt;same as on server &amp; workstation&gt;=
&quot;<br>
}<br>
<br>
#<br>
# Restricted Director, used by tray-monitor to get the<br>
#=C2=A0 =C2=A0status of the file daemon<br>
#<br>
<br>
Director {<br>
=C2=A0=C2=A0 Name =3D FuriPhoneFLX1s-mon<br>
=C2=A0=C2=A0 Password =3D &quot;&lt;random=C2=A0 password - not sure where =
it is used&gt;&quot;<br>
=C2=A0=C2=A0 Monitor =3D yes<br>
}<br>
<br>
#<br>
# &quot;Global&quot; File daemon configuration specifications<br>
#<br>
FileDaemon {=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # this is me<br>
=C2=A0=C2=A0 Name =3D FuriPhoneFLX1s-fd<br>
=C2=A0=C2=A0 FDport =3D 9102=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 # where we listen for the director<br>
=C2=A0=C2=A0 WorkingDirectory =3D /var/lib/bacula<br>
=C2=A0=C2=A0 Pid Directory =3D /run/bacula<br>
=C2=A0=C2=A0 Maximum Concurrent Jobs =3D 20<br>
=C2=A0=C2=A0 Plugin Directory =3D /usr/lib/bacula<br>
=C2=A0=C2=A0 FDAddress =3D &lt;phone&#39;s IP address&gt;<br>
}<br>
<br>
# Send all messages except skipped files back to Director<br>
Messages {<br>
=C2=A0=C2=A0 Name =3D Standard<br>
=C2=A0=C2=A0 director =3D FuriPhoneFLX1s-dir =3D all, !skipped, !restored, =
!verified, <br>
!saved<br>
}<br>
<br>
-------------------------<br>
<br>
systemd output<br>
<br>
--------------------------<br>
<br>
# systemctl status bacula-fd.service<br>
=E2=97=8F bacula-fd.service - Bacula File Daemon service<br>
=C2=A0=C2=A0 =C2=A0 =C2=A0Loaded: loaded (/usr/lib/systemd/system/bacula-fd=
.service; <br>
enabled; preset: enabled)<br>
=C2=A0=C2=A0 =C2=A0 =C2=A0Active: activating (auto-restart) (Result: exit-c=
ode) since Mon <br>
2026-06-01 17:39:09 EDT; 47s ago<br>
=C2=A0=C2=A0Invocation: 5c3dcb2ce66741599440a8c7185419d0<br>
=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0Docs: man:bacula-fd(8)<br>
=C2=A0=C2=A0 =C2=A0 Process: 1395076 ExecStartPre=3D/usr/sbin/bacula-fd -t =
-c $CONFIG <br>
(code=3Dexited, status=3D1/FAILURE)<br>
=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 CPU: 13ms<br>
<br>
Jun 01 17:39:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service: Control <br>
process exited, code=3Dexited, status=3D1/FAILURE<br>
Jun 01 17:39:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service: Failed <br>
with result &#39;exit-code&#39;.<br>
Jun 01 17:39:09 FuriPhoneFLX1s systemd[1]: Failed to start <br>
bacula-fd.service - Bacula File Daemon service.<br>
<br>
and<br>
<br>
# journalctl -xeu bacula-fd.service<br>
=E2=96=91=E2=96=91 Support: <a href=3D"https://www.debian.org/support" rel=
=3D"noreferrer noreferrer" target=3D"_blank">https://www.debian.org/support=
</a><br>
=E2=96=91=E2=96=91<br>
=E2=96=91=E2=96=91 A start job for unit bacula-fd.service has begun executi=
on.<br>
=E2=96=91=E2=96=91<br>
=E2=96=91=E2=96=91 The job identifier is 154579.<br>
Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: bacula-fd: ERROR <br>
TERMINATION at parse_conf.c:1722<br>
Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: Config error: <br>
unexpected token 110 T_EQUALS in resource definition<br>
Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]:=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0: line <br>
21, col 10 of file /etc/bacula/bacula-fd.conf<br>
Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: Director =3D {<br>
Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: 01-Jun 17:41 <br>
bacula-fd: ERROR TERMINATION at parse_conf.c:1722<br>
Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: Config error: <br>
unexpected token 110 T_EQUALS in resource definition<br>
Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]:=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0: line <br>
21, col 10 of file /etc/bacula/bacula-fd.conf<br>
Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: Director =3D {<br>
Jun 01 17:41:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service: Control <br>
process exited, code=3Dexited, status=3D1/FAILURE<br>
=E2=96=91=E2=96=91 Subject: Unit process exited<br>
=E2=96=91=E2=96=91 Defined-By: systemd<br>
=E2=96=91=E2=96=91 Support: <a href=3D"https://www.debian.org/support" rel=
=3D"noreferrer noreferrer" target=3D"_blank">https://www.debian.org/support=
</a><br>
=E2=96=91=E2=96=91<br>
=E2=96=91=E2=96=91 An ExecStartPre=3D process belonging to unit bacula-fd.s=
ervice has exited.<br>
=E2=96=91=E2=96=91<br>
=E2=96=91=E2=96=91 The process&#39; exit code is &#39;exited&#39; and its e=
xit status is 1.<br>
Jun 01 17:41:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service: Failed <br>
with result &#39;exit-code&#39;.<br>
=E2=96=91=E2=96=91 Subject: Unit failed<br>
=E2=96=91=E2=96=91 Defined-By: systemd<br>
=E2=96=91=E2=96=91 Support: <a href=3D"https://www.debian.org/support" rel=
=3D"noreferrer noreferrer" target=3D"_blank">https://www.debian.org/support=
</a><br>
=E2=96=91=E2=96=91<br>
=E2=96=91=E2=96=91 The unit bacula-fd.service has entered the &#39;failed&#=
39; state with result <br>
&#39;exit-code&#39;.<br>
Jun 01 17:41:09 FuriPhoneFLX1s systemd[1]: Failed to start <br>
bacula-fd.service - Bacula File Daemon service.<br>
=E2=96=91=E2=96=91 Subject: A start job for unit bacula-fd.service has fail=
ed<br>
=E2=96=91=E2=96=91 Defined-By: systemd<br>
=E2=96=91=E2=96=91 Support: <a href=3D"https://www.debian.org/support" rel=
=3D"noreferrer noreferrer" target=3D"_blank">https://www.debian.org/support=
</a><br>
=E2=96=91=E2=96=91<br>
=E2=96=91=E2=96=91 A start job for unit bacula-fd.service has finished with=
 a failure.<br>
=E2=96=91=E2=96=91<br>
<br>
<br>
<br>
_______________________________________________<br>
Bacula-users mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank" rel=
=3D"noreferrer">[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/bacula-users" rel=
=3D"noreferrer noreferrer" target=3D"_blank">https://lists.sourceforge.net/=
lists/listinfo/bacula-users</a><br>
</blockquote></div><div><br clear=3D"all"></div><div><br></div><span class=
=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_s=
ignature">Russell Kackley<br>Subaru Telescope<br>Hilo, Hawaii<br><br></div>
_______________________________________________<br>
Bacula-users mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank" rel=
=3D"noreferrer">[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/bacula-users" rel=
=3D"noreferrer noreferrer" target=3D"_blank">https://lists.sourceforge.net/=
lists/listinfo/bacula-users</a><br>
</blockquote></div>

--0000000000003de2f706533ffcba--


--===============2339525490850761417==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============2339525490850761417==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

--===============2339525490850761417==--