Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

I have errors when creating a backup in run job

42 views
Skip to first unread message

bruno tapia

unread,
Sep 1, 2024, 12:29:45 AM9/1/24
to bacularis
bacula-dir JobId 1: Fatal error: No Job status returned from FD.
bacula-dir JobId 1: Fatal error: Failed to start job on any of the storages defined!
bacula-dir JobId 1: Storage daemon "File1" didn't accept Device "FileChgr1" because: 3924 Device "FileChgr1" not in SD Device resources or no matching Media Type or is disabled.
bacula-dir JobId 1: Connected to Storage "File1" at localhost:9103 with TLS
bacula-dir JobId 1: Start Backup JobId 1, Job=BackupClient1.2024-09-01_04.09.04_16
bacula-dir JobId 1: No prior or suitable Full backup found in catalog. Doing FULL backup.

Please help me I need to continue with the project and it won't let me move forward :,D


Captura de pantalla 2024-08-31 232843.png

Marcin Haba

unread,
Sep 1, 2024, 1:08:41 AM9/1/24
to bruno tapia, bacularis
On Sun, 1 Sept 2024 at 06:29, bruno tapia <bruno...@gmail.com> wrote:
>
> bacula-dir JobId 1: Fatal error: No Job status returned from FD.
> bacula-dir JobId 1: Fatal error: Failed to start job on any of the storages defined!
> bacula-dir JobId 1: Storage daemon "File1" didn't accept Device "FileChgr1" because: 3924 Device "FileChgr1" not in SD Device resources or no matching Media Type or is disabled.
> bacula-dir JobId 1: Connected to Storage "File1" at localhost:9103 with TLS
> bacula-dir JobId 1: Start Backup JobId 1, Job=BackupClient1.2024-09-01_04.09.04_16
> bacula-dir JobId 1: No prior or suitable Full backup found in catalog. Doing FULL backup.

Hello Bruno,

Welcome to the Bacularis user group.

This error means that the Bacula Director is not able to use for
backup the Storage File1. Most probably the Media Type parameter
didn't match on the Director side and on the Storage Daemon Device
side, but we will see. Could I ask you about showing us three the
following configs?

1) In the Director configuration the Storage "File1" config?

In Bacularis it is in path:

[Main menu] => [Page: Director] => [Tab: Configure director] =>
[SubTab: Storage] => [Item: File1] => [Button: Edit]

2) In the Storage Daemon configuration the FileChgr1 autochanger config?

In Bacularis it is in path:

[Main menu] => [Page: Storage] => [Item: File1] => [Button: Details]
=> [Tab: Configure storage daemon] => [SubTab: Autochanger] => [Item:
FileChgr1] => [Button: Edit]

3) In the Storage Daemon configuration the autochanger Device config?

In Bacularis it is in path:

[Main menu] => [Page: Storage] => [Item: File1] => [Button: Details]
=> [Tab: Configure storage daemon] => [SubTab: Device] => [Item:
changer device like FileChgr1-Dev1 or similar] => [Button: Edit]

Thanks in advance for providing the configs.

Best regards,
Marcin Haba (gani)

Marcin Haba

unread,
Sep 1, 2024, 11:37:05 AM9/1/24
to bruno tapia, bacularis
On Sun, 1 Sept 2024 at 17:13, bruno tapia <bruno...@gmail.com> wrote:
>
> Yes, I already entered each component and viewed the configuration but I don't understand how to solve it.

Hello Bruno,

Yes, I understand that you have all the three Bacula configuration
resources ready (Storage, Autochanger and Device). I meant providing
this configuration here to the Bacularis user group. This way we will
be able to determine what exactly is wrong in your settings.

If it is comfortable for you, you can send screenshots from the
Bacularis interface with this configuration. Similar screenshots I am
attaching to this message as examples.

Thanks in advance.
storage.png
autochanger.png
device.png

bruno tapia

unread,
Sep 1, 2024, 11:52:31 AM9/1/24
to bacularis
Captura de pantalla 2024-09-01 104922.png
Captura de pantalla 2024-09-01 105004.png
Captura de pantalla 2024-09-01 105029.png

Marcin Haba

unread,
Sep 1, 2024, 12:19:20 PM9/1/24
to bruno tapia, bacularis
Hello Bruno,

Thanks for providing the screenshots. I am seeing there a couple of
things to improve:

1) Storage resource - everything is OK

2) Autochanger resource:

- In the Device directive you can also select the second device. I
mean having selected two:

Device: FileChgr1-Dev1
FileChgr1-Dev2

- In ChangerCommand directive if your Bacula SD version is greater
than 5.2 please set in this directive /dev/null like this:

ChangerCommand: /dev/null

If you want to read more about this internal Bacula autochanger
settings, I suggest to look at chapter 2.2 in this white paper:
https://bacula.org/whitepapers/CommunityDiskBackup.pdf

3) Device resource:

- Archive Device directive should have existing path where Bacula SD
can write. You can create this path, for example like this from the
root user account:

# sudo -u bacula mkdir -p -m 700 /directory/to/store/volumes

Once the directory is created, you can set it in the Devices
"FileChgr1-Dev1" and "FileChgr1-Dev2" the Archive Device directive to
the same directory like here:

ArchiveDevice: /directory/to/store/volumes

This directory you need to adapt to a path where you would like to
store Bacula volumes.

- Enable Autochanger directive in "FileChgr1-Dev1" and "FileChgr1-Dev2":

Autochanger: [X]

This directive is available after clicking the 'All directives' switch button.

After saving everything, you will need to restart the Bacula Storage
Daemon. You can do it on the Bacularis web interface here:

[Main menu] => [Page: Storage] => [Tab: Actions] => [Button: Restart]

or directly in the console:

# systemctl restart bacula-sd

Please let us know if it helped. Good luck :-)

bruno tapia

unread,
Sep 1, 2024, 1:03:06 PM9/1/24
to bacularis
verificalo porfavor
Captura de pantalla 2024-09-01 120236.png

bruno tapia

unread,
Sep 1, 2024, 1:03:39 PM9/1/24
to bacularis
Captura de pantalla 2024-09-01 120320.png

Marcin Haba

unread,
Sep 1, 2024, 1:23:38 PM9/1/24
to bruno tapia, bacularis
On Sun, 1 Sept 2024 at 19:03, bruno tapia <bruno...@gmail.com> wrote:
>
> El domingo, 1 de septiembre de 2024 a las 12:03:06 UTC-5, bruno tapia escribió:
>>
>> verificalo porfavor

Hello Bruno,

Well done. It looks to be working fine :-)

bruno tapia

unread,
Sep 1, 2024, 1:29:28 PM9/1/24
to bacularis
thanks a lot
you are the best :)
Reply all
Reply to author
Forward
0 new messages