Hey guys! So, I am running Bareos experimentally in a test environment. I am backing up 10 clients on a remote storage server. The issue I am facing is that sometimes when doing scheduled backups (incremental or full), some of the backup jobs fail with the error message "Fatal error: Failed to authenticate Storage daemon.". However, when re-running the same job via WebUI, the job runs without any issue. One thing to mention is that I am backing up to disk and my setup is done according to the documentation for running concurrent backup jobs on a disk. I am running 5 concurrent backup jobs at the moment. Also, the authorization between client->dir and client->storage is done via a password. Any hints on what may be wrong are welcome! Here is the log from a failed backup job:
2020-01-10 00:00:06 client1 JobId 112: Fatal error: Authorization key rejected client1.
2020-01-10 00:00:06 client1 JobId 112: Fatal error: Failed to authenticate Storage daemon.
2020-01-10 00:00:06 bareos-dir JobId 112: Fatal error: Bad response to Storage command: wanted 2000 OK storage
, got 2902 Bad storage
2020-01-10 00:00:06 bareos-dir JobId 112: Error: Bareos bareos-dir 19.2.4~rc1 (19Dec19):
Build OS: Linux-5.3.14-200.fc30.x86_64 redhat CentOS Linux release 7.7.1908 (Core)
JobId: 112
Job: client1.2020-01-10_00.00.00_48
Backup Level: Incremental, since=2020-01-09 00:00:01
Client: "client1" 19.2.4~rc1 (19Dec19) Linux-5.3.14-200.fc30.x86_64,redhat,CentOS Linux release 7.7.1908 (Core)
FileSet: "LinuxAllwithSQL_EL" 2020-01-08 00:00:00
Pool: "client1" (From Job resource)
Catalog: "MyCatalog" (From Client resource)
Storage: "remote_storage_public_1" (From Pool resource)
Scheduled time: 10-Jan-2020 00:00:00
Start time: 10-Jan-2020 00:00:00
End time: 10-Jan-2020 00:00:06
Elapsed time: 6 secs
Priority: 20
FD Files Written: 0
SD Files Written: 0
FD Bytes Written: 0 (0 B)
SD Bytes Written: 0 (0 B)
Rate: 0.0 KB/s
Software Compression: None
VSS: no
Encryption: no
Accurate: no
Volume name(s):
Volume Session Id: 22
Volume Session Time: 1578498212
Last Volume Bytes: 0 (0 B)
Non-fatal FD errors: 2
SD Errors: 0
FD termination status: Fatal Error
SD termination status: Waiting on FD
Bareos binary info: pre-release version: Get official binaries and vendor support on
bareos.comTermination: *** Backup Error ***
2020-01-10 00:00:01 bareos-dir JobId 112: Using Device "FileStorage5" to write.
2020-01-10 00:00:01
bareos-dir JobId 112: Connected Client: client1 at
79.98.111.69:9102, encryption: None
2020-01-10 00:00:01 bareos-dir JobId 112: Handshake: Cleartext
2020-01-10 00:00:01 bareos-dir JobId 112: Encryption: None
2020-01-10 00:00:00 bareos-dir JobId 112: Start Backup JobId 112, Job=client1.2020-01-10_00.00.00_48
2020-01-10 00:00:00
bareos-dir JobId 112: Connected Storage daemon at
185.55.228.135:9103, encryption: None