Re: Problem backup Client

21 views
Skip to first unread message

Marcin Haba

unread,
Nov 17, 2024, 8:59:24 AM11/17/24
to Robert Klatka, bacularis
On Sun, 17 Nov 2024 at 14:35, Robert Klatka <robert...@gmail.com> wrote:

Hello, I am quite new to the world of Bacula and Bacularis. My Bacula is on ARM64.

I have a problem during client backups where the backups do not want to be executed. The issue is that when testing the Client and the Storage to which I want to perform the Backup.


Hello Robert,

Yes, it looks to be a problem with connection between FD <-> SD. Maybe your Bacula services listen on localhost and it can be the reason why they are not able to communicate together? With Bacula packages from Debian it is quite common case. To check it, you can run from the FD host:

telnet YOUR_REMOTE_SD_ADDRESS 9103

If it is this case, to fix it, please go to:

[Main menu] => [Page: Storage] => [Button: Details in table row for remote SD] => [Tab: Configure storage daemon] => [SubTab: Storage]

and there please remove the SDAddress directive.

If your remote SD configuration is not managed by Bacularis, you can edit manually:

/etc/bacula/bacula-sd.conf

and remove there:

SDAddress = 127.0.0.1


The same I propose to check also for FD on the FD host if you are going to use FD with remote components.

Please let us know if you were able to solve it.

Good luck!

Best regards,
Marcin Haba (gani) 

Marcin Haba

unread,
Nov 17, 2024, 9:04:26 AM11/17/24
to Robert Klatka, bacularis
On Sun, 17 Nov 2024 at 14:59, Marcin Haba <gani...@gmail.com> wrote:
>
> On Sun, 17 Nov 2024 at 14:35, Robert Klatka <robert...@gmail.com> wrote:
>>
>> Hello, I am quite new to the world of Bacula and Bacularis. My Bacula is on ARM64.
>>
>> I have a problem during client backups where the backups do not want to be executed. The issue is that when testing the Client and the Storage to which I want to perform the Backup.
>
>
> Hello Robert,
>
> Yes, it looks to be a problem with connection between FD <-> SD. Maybe your Bacula services listen on localhost and it can be the reason why they are not able to communicate together? With Bacula packages from Debian it is quite common case. To check it, you can run from the FD host:

One more thing. After changing FD/SD configuration, to apply new
changes there is required to restart the FD or SD component.

Robert Klatka

unread,
Nov 17, 2024, 10:12:59 AM11/17/24
to bacularis
Hello

There was no communication on port 9103. So i do what you advice.
[Main menu] => [Page: Storage] => [Button: Details in table row for remote SD] => [Tab: Configure storage daemon] => [SubTab: Storage]
and there please remove the SDAddress directive.

Now i have communcation from FD to SD on port 9103

telent.png

but i dont have communication from SD to FD on port 9103

telnet2.png

How to fix it by Balularis interface ? or maby by configuration files.

Best regards.

Marcin Haba

unread,
Nov 17, 2024, 10:20:10 AM11/17/24
to Robert Klatka, bacularis
On Sun, 17 Nov 2024 at 16:13, Robert Klatka <robert...@gmail.com> wrote:
Hello

There was no communication on port 9103. So i do what you advice.
[Main menu] => [Page: Storage] => [Button: Details in table row for remote SD] => [Tab: Configure storage daemon] => [SubTab: Storage]
and there please remove the SDAddress directive.

Now i have communcation from FD to SD on port 9103

Hello Robert,

Great. So, SD is accessible outside.

For the FD, the situation is similar. Please go to:

[Main menu] => [Page: Clients] => [Button: Details in table row for client] => [Tab: Configure file daemon] => [SubTab: File daemon]

and there please remove the FDAddress directive.

If you want to do it manually (outside Bacularis), it will be a config file like this:

/etc/bacula/bacula-fd.conf

and directive to remove is:

FDAddress = 127.0.0.1

At the end you need to restart FD.

Robert Klatka

unread,
Nov 17, 2024, 10:37:57 AM11/17/24
to bacularis
There is no  [Main menu] => [Page: Clients]

I instal baclula and baclularis in this Client by [Main menu] => [Page: Deployments] on Bacula server [Main]
In the same way as in the video >> https://www.youtube.com/watch?v=W-A1S2Yr3a0

In file: /etc/bacula/bacula-fd.conf
I dont have this line: FDAddress = 127.0.0.1

If this will help. my server and client looks like that:
On the main serwer i have Ubuntu 24.04 so Bacula is version 13.0.4  and Bacularis is version 4.4.0
Client is on Debian 12 so Bacula is version 9.6.7-7 and Bacularis is version 4.0.0 - install like this Video tutorial >> https://www.youtube.com/watch?v=W-A1S2Yr3a0

Best regards

Marcin Haba

unread,
Nov 17, 2024, 11:26:52 AM11/17/24
to Robert Klatka, bacularis
Hello Robert,

I didn't notice one thing in your outputs. If you try to connect to FD
from the SD host, then the port is 9102, not 9103:

telnet 192.168.20.20 9102

Is it better now?

For the YouTube video it is correct guide and up-to-date. I don't know
why you don't have that client on the Clients page. It should be
available there after deploying the Bacula Client on the deployment
page. What exactly do you mean that there is no [Main menu] => [Page:
Clients]?

For not existing FDAddress in bacula-fd.conf, that is fine.

Best regards,
Marcin Haba (gani)

> --
> You received this message because you are subscribed to the Google Groups "bacularis" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bacularis+...@googlegroups.com.
> To view this discussion, visit https://groups.google.com/d/msgid/bacularis/284247fc-82db-4904-a35a-7faf44e00209n%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Robert Klatka

unread,
Nov 17, 2024, 11:40:23 AM11/17/24
to bacularis
Port  9102 from fd >>> sd are open

robak@bacula:~$ telnet 192.168.20.20 9102
Trying 192.168.20.20...
Connected to 192.168.20.20.


What exactly do you mean that there is no [Main menu] => [Page:Clients]?
There in nothing like Clients on the Bacularis Client menu

client1.png

Or maybe i do understand it wrong ?
Should I install anything additionally?

install-bacula-components-on-API-host.png

Best regards

Robert Klatka

unread,
Nov 17, 2024, 11:47:22 AM11/17/24
to bacularis
OK i know what is wrong.
[Main menu] >> [Storage] >> [Details] >> [Configure storage]
Address: - should be the IP address of the storage, but by default it was "localhost"

Now i can do test, and it is work


Marcin Haba

unread,
Nov 17, 2024, 11:51:15 AM11/17/24
to Robert Klatka, bacularis
Hello Robert,

On Sun, 17 Nov 2024 at 17:40, Robert Klatka <robert...@gmail.com> wrote:
Port  9102 from fd >>> sd are open

robak@bacula:~$ telnet 192.168.20.20 9102
Trying 192.168.20.20...
Connected to 192.168.20.20.

Super. It looks correct.
 
What exactly do you mean that there is no [Main menu] => [Page:Clients]?
There in nothing like Clients on the Bacularis Client menu

Aha, OK. Now I understand what you mean. Thanks for screenshots. This is the Bacularis API panel and my paths [Main menu] => [Page:Clients] is for the Bacularis web interface.
 
Or maybe i do understand it wrong ?
Should I install anything additionally?

This deployment installation is fine.

Marcin Haba

unread,
Nov 17, 2024, 11:52:18 AM11/17/24
to Robert Klatka, bacularis
On Sun, 17 Nov 2024 at 17:47, Robert Klatka <robert...@gmail.com> wrote:
OK i know what is wrong.
[Main menu] >> [Storage] >> [Details] >> [Configure storage]
Address: - should be the IP address of the storage, but by default it was "localhost"

Now i can do test, and it is work
 
Hello Robert,

Great that you solved it :-)
Reply all
Reply to author
Forward
0 new messages