Re: bacula on a FuriLabs FLX1s phone

Gary Dale <[email protected]> Wed, 3 Jun 2026 11:18:33 -0400
Newsgroups gmane.comp.bacula.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============8736171316772730392==
Content-Type: multipart/alternative;
 boundary="------------0ozKN7cFDinO3wTWGMKnMxEw"
Content-Language: en-CA

This is a multi-part message in MIME format.
--------------0ozKN7cFDinO3wTWGMKnMxEw
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Thanks. Sometimes I miss the obvious.


On 2026-06-01 23:58, Russell Kackley wrote:
> Gary,
>
> I think your problem is in this line:
>
> Director = {
>
> Delete the "=" and try again.
>
> On Mon, Jun 1, 2026 at 5:30 PM 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 = FuriPhoneFLX1s-dir
>        Password = "<same as on server & workstation>"
>     }
>
>     Director = {
>        Name = TheLibrarian-dir   # bacula server
>        Password = "<same as on server & workstation>"
>     }
>
>     #
>     # Restricted Director, used by tray-monitor to get the
>     #   status of the file daemon
>     #
>
>     Director {
>        Name = FuriPhoneFLX1s-mon
>        Password = "<random  password - not sure where it is used>"
>        Monitor = yes
>     }
>
>     #
>     # "Global" File daemon configuration specifications
>     #
>     FileDaemon {                          # this is me
>        Name = FuriPhoneFLX1s-fd
>        FDport = 9102                  # where we listen for the director
>        WorkingDirectory = /var/lib/bacula
>        Pid Directory = /run/bacula
>        Maximum Concurrent Jobs = 20
>        Plugin Directory = /usr/lib/bacula
>        FDAddress = <phone's IP address>
>     }
>
>     # Send all messages except skipped files back to Director
>     Messages {
>        Name = Standard
>        director = FuriPhoneFLX1s-dir = all, !skipped, !restored,
>     !verified,
>     !saved
>     }
>
>     -------------------------
>
>     systemd output
>
>     --------------------------
>
>     # systemctl status bacula-fd.service
>     ● 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=/usr/sbin/bacula-fd -t -c $CONFIG
>     (code=exited, status=1/FAILURE)
>              CPU: 13ms
>
>     Jun 01 17:39:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service: Control
>     process exited, code=exited, status=1/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
>     ░░ Support: https://www.debian.org/support
>     ░░
>     ░░ A start job for unit bacula-fd.service has begun execution.
>     ░░
>     ░░ 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 = {
>     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 = {
>     Jun 01 17:41:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service: Control
>     process exited, code=exited, status=1/FAILURE
>     ░░ Subject: Unit process exited
>     ░░ Defined-By: systemd
>     ░░ Support: https://www.debian.org/support
>     ░░
>     ░░ An ExecStartPre= process belonging to unit bacula-fd.service
>     has exited.
>     ░░
>     ░░ The process' exit code is 'exited' and its exit status is 1.
>     Jun 01 17:41:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service: Failed
>     with result 'exit-code'.
>     ░░ Subject: Unit failed
>     ░░ Defined-By: systemd
>     ░░ Support: https://www.debian.org/support
>     ░░
>     ░░ The unit bacula-fd.service has entered the 'failed' state with
>     result
>     'exit-code'.
>     Jun 01 17:41:09 FuriPhoneFLX1s systemd[1]: Failed to start
>     bacula-fd.service - Bacula File Daemon service.
>     ░░ Subject: A start job for unit bacula-fd.service has failed
>     ░░ Defined-By: systemd
>     ░░ Support: https://www.debian.org/support
>     ░░
>     ░░ A start job for unit bacula-fd.service has finished with a failure.
>     ░░
>
>
>
>     _______________________________________________
>     Bacula-users mailing list
>     [email protected]
>     https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
> -- 
> Russell Kackley
> Subaru Telescope
> Hilo, Hawaii
>
--------------0ozKN7cFDinO3wTWGMKnMxEw
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Thanks. Sometimes I miss the obvious.</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 2026-06-01 23:58, Russell Kackley
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEV45yBTdSbgajzftAbwDYmhxzZn-nWVXthmbNMbzjfH5dKevg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Gary,
        <div><br>
        </div>
        <div>I think your problem is in this line:</div>
        <div><br>
        </div>
        <div>Director = {</div>
        <div><br>
        </div>
        <div>Delete the "=" and try again.</div>
      </div>
      <br>
      <div class="gmail_quote gmail_quote_container">
        <div dir="ltr" class="gmail_attr">On Mon, Jun 1, 2026 at 5:30 PM
          Gary Dale &lt;<a href="mailto:[email protected]"
            moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</a>&gt;
          wrote:<br>
        </div>
        <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">One
          of the benefits of running Linux on a phone is that it runs
          all the <br>
          software I'm used to. I thought it would be easy to run Bacula
          to backup <br>
          the phone daily. That wasn'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 <br>
          it now picks up a reserved DHCP address from my home router.<br>
          <br>
          My first thought was to just duplicate my workstation's setup
          on my <br>
          bacula server and copy the workstation'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 <br>
          run it but fails after 3 minutes because it can't communicate
          with the <br>
          phone's fd.<br>
          <br>
          Looking on the phone, bacula-fd isn't starting (see below).<br>
          <br>
          What I can'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  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>
             Name = FuriPhoneFLX1s-dir<br>
             Password = "&lt;same as on server &amp; workstation&gt;"<br>
          }<br>
          <br>
          Director = {<br>
             Name = TheLibrarian-dir   # bacula server<br>
             Password = "&lt;same as on server &amp; workstation&gt;"<br>
          }<br>
          <br>
          #<br>
          # Restricted Director, used by tray-monitor to get the<br>
          #   status of the file daemon<br>
          #<br>
          <br>
          Director {<br>
             Name = FuriPhoneFLX1s-mon<br>
             Password = "&lt;random  password - not sure where it is
          used&gt;"<br>
             Monitor = yes<br>
          }<br>
          <br>
          #<br>
          # "Global" File daemon configuration specifications<br>
          #<br>
          FileDaemon {                          # this is me<br>
             Name = FuriPhoneFLX1s-fd<br>
             FDport = 9102                  # where we listen for the
          director<br>
             WorkingDirectory = /var/lib/bacula<br>
             Pid Directory = /run/bacula<br>
             Maximum Concurrent Jobs = 20<br>
             Plugin Directory = /usr/lib/bacula<br>
             FDAddress = &lt;phone's IP address&gt;<br>
          }<br>
          <br>
          # Send all messages except skipped files back to Director<br>
          Messages {<br>
             Name = Standard<br>
             director = FuriPhoneFLX1s-dir = all, !skipped, !restored,
          !verified, <br>
          !saved<br>
          }<br>
          <br>
          -------------------------<br>
          <br>
          systemd output<br>
          <br>
          --------------------------<br>
          <br>
          # systemctl status bacula-fd.service<br>
          ● bacula-fd.service - Bacula File Daemon service<br>
                Loaded: loaded
          (/usr/lib/systemd/system/bacula-fd.service; <br>
          enabled; preset: enabled)<br>
                Active: activating (auto-restart) (Result: exit-code)
          since Mon <br>
          2026-06-01 17:39:09 EDT; 47s ago<br>
            Invocation: 5c3dcb2ce66741599440a8c7185419d0<br>
                  Docs: <a class="moz-txt-link-freetext" href="man:bacula-fd(8)">man:bacula-fd(8)</a><br>
               Process: 1395076 ExecStartPre=/usr/sbin/bacula-fd -t -c
          $CONFIG <br>
          (code=exited, status=1/FAILURE)<br>
                   CPU: 13ms<br>
          <br>
          Jun 01 17:39:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service:
          Control <br>
          process exited, code=exited, status=1/FAILURE<br>
          Jun 01 17:39:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service:
          Failed <br>
          with result 'exit-code'.<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>
          ░░ Support: <a href="https://www.debian.org/support"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://www.debian.org/support</a><br>
          ░░<br>
          ░░ A start job for unit bacula-fd.service has begun execution.<br>
          ░░<br>
          ░░ 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]:           
           : line <br>
          21, col 10 of file /etc/bacula/bacula-fd.conf<br>
          Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: Director =
          {<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]:           
           : line <br>
          21, col 10 of file /etc/bacula/bacula-fd.conf<br>
          Jun 01 17:41:09 FuriPhoneFLX1s bacula-fd[1400104]: Director =
          {<br>
          Jun 01 17:41:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service:
          Control <br>
          process exited, code=exited, status=1/FAILURE<br>
          ░░ Subject: Unit process exited<br>
          ░░ Defined-By: systemd<br>
          ░░ Support: <a href="https://www.debian.org/support"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://www.debian.org/support</a><br>
          ░░<br>
          ░░ An ExecStartPre= process belonging to unit
          bacula-fd.service has exited.<br>
          ░░<br>
          ░░ The process' exit code is 'exited' and its exit status is
          1.<br>
          Jun 01 17:41:09 FuriPhoneFLX1s systemd[1]: bacula-fd.service:
          Failed <br>
          with result 'exit-code'.<br>
          ░░ Subject: Unit failed<br>
          ░░ Defined-By: systemd<br>
          ░░ Support: <a href="https://www.debian.org/support"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://www.debian.org/support</a><br>
          ░░<br>
          ░░ The unit bacula-fd.service has entered the 'failed' state
          with result <br>
          'exit-code'.<br>
          Jun 01 17:41:09 FuriPhoneFLX1s systemd[1]: Failed to start <br>
          bacula-fd.service - Bacula File Daemon service.<br>
          ░░ Subject: A start job for unit bacula-fd.service has failed<br>
          ░░ Defined-By: systemd<br>
          ░░ Support: <a href="https://www.debian.org/support"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://www.debian.org/support</a><br>
          ░░<br>
          ░░ A start job for unit bacula-fd.service has finished with a
          failure.<br>
          ░░<br>
          <br>
          <br>
          <br>
          _______________________________________________<br>
          Bacula-users mailing list<br>
          <a href="mailto:[email protected]"
            target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">[email protected]</a><br>
          <a
href="https://lists.sourceforge.net/lists/listinfo/bacula-users"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">https://lists.sourceforge.net/lists/listinfo/bacula-users</a><br>
        </blockquote>
      </div>
      <div><br clear="all">
      </div>
      <div><br>
      </div>
      <span class="gmail_signature_prefix">-- </span><br>
      <div dir="ltr" class="gmail_signature">Russell Kackley<br>
        Subaru Telescope<br>
        Hilo, Hawaii<br>
        <br>
      </div>
    </blockquote>
  </body>
</html>

--------------0ozKN7cFDinO3wTWGMKnMxEw--


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


--===============8736171316772730392==
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

--===============8736171316772730392==--