Amending ./bareos-fd.d/client/myself.conf resolved the issue:
Client {
Name = myserver-fd
Maximum Concurrent Jobs = 20
# Enable the Heartbeat if you experience connection losses
# (eg. because of your router or firewall configuration).
# Additionally the Heartbeat can be enabled in bareos-sd and bareos-fd.
#
Heartbeat Interval = 1 min
}
See also:
https://docs.bareos.org/Configuration/FileDaemon.html#config-Fd_Client_HeartbeatInterval
On 14.04.2021 17:29, Andreas Balogh wrote:
Hi,
I have encountered an issue with a backup where the data download from
fd to sd seems to work fine, but the director misses
the job status after the end of the data transfer. Enclosed find my logs.
bareos works fine within my home LAN, but in this case I try to backup a
server on the internet.
Here is my setup:
LAN - fritz.box 7530 DSL router - Internet
bareos.local - <mydomain>.de - <inetserver>
I found a similar issue in a thread five years ago:
https://bacula-users.narkive.com/aVRUptwb/backup-finished-but-fatal-error-network-error-with-fd-connection-reset-by-peer
At the time the suspicion was that the socket was closed by the network,
while in the meantime fd to sd are supposedly exchanging heartbeat packets.
Any idea how to
1. close in on the issue?
2. fix this issue with bareos configuration?
Thanks.
-------------------------------------------------------------------------------------------------------------------------
2021-04-14 15:58:22 bareos-dir JobId 1826: Fatal error: Network error
with FD during Backup:
2021-04-14 15:58:22 bareos-dir JobId 1826: Fatal error: No Job status
returned from FD.
2021-04-14 15:58:22 bareos-dir JobId 1826: Error: Bareos bareos-dir
19.2.7 (16Apr20):
Build OS: FreeBSD-12.1-RELEASE-p12 freebsd 12.1-RELEASE-p12
JobId: 1826
Job: <inetserver>.2021-04-14_13.58.20_24
Backup Level: Full (upgraded from Incremental)
Client: "<inetserver>-fd" 20.0.1 (02Mar21) Ubuntu 18.04.5 LTS,ubuntu
FileSet: "<inetserver>" 2021-04-14 13:58:20
Pool: "Monthly" (From Job FullPool override)
Catalog: "MyCatalog" (From Client resource)
Storage: "File" (From Job resource)
Scheduled time: 14-Apr-2021 13:58:20
Start time: 14-Apr-2021 13:58:22
End time: 14-Apr-2021 15:58:22
Elapsed time: 2 hours
Priority: 10
FD Files Written: 0
SD Files Written: 265,762
FD Bytes Written: 0 (0 B)
SD Bytes Written: 9,989,844,916 (9.989 GB)
Rate: 0.0 KB/s
Software Compression: None
VSS: no
Encryption: no
Accurate: no
Volume name(s): Monthly-0033
Volume Session Id: 6
Volume Session Time: 1618377313
Last Volume Bytes: 152,344,965,437 (152.3 GB)
Non-fatal FD errors: 1
SD Errors: 0
FD termination status: Error
SD termination status: OK
Bareos binary info: self-compiled: Get official binaries and vendor
support on bareos.com
Termination: *** Backup Error ***
2021-04-14 14:26:30 bareos-sd JobId 1826: Releasing device
"FileStorage" (/var/db/bareos/storage).
2021-04-14 14:26:30 bareos-sd JobId 1826: Elapsed time=00:28:08,
Transfer rate=5.918 M Bytes/second
2021-04-14 13:58:22 bareos-dir JobId 1826: Start Backup JobId 1826,
Job=<inetserver>.2021-04-14_13.58.20_24
2021-04-14 13:58:22 bareos-dir JobId 1826: Connected Storage daemon
at <mydomain>.de:9103, encryption: TLS_CHACHA20_POLY1305_SHA256
2021-04-14 13:58:22 bareos-dir JobId 1826: Using Device "FileStorage"
to write.
2021-04-14 13:58:22 bareos-dir JobId 1826: Probing client protocol...
(result will be saved until config reload)
2021-04-14 13:58:22 bareos-dir JobId 1826: Connected Client:
<inetserver>-fd at <inetserver>.de:9102, encryption:
TLS_CHACHA20_POLY1305_SHA256
2021-04-14 13:58:22 bareos-dir JobId 1826: Handshake: Immediate TLS
2021-04-14 13:58:22 bareos-dir JobId 1826: Encryption:
TLS_CHACHA20_POLY1305_SHA256
2021-04-14 13:58:22 mail-fd JobId 1826: Connected Storage daemon at
<mydomain>.de:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
2021-04-14 13:58:22 mail-fd JobId 1826: Extended attribute support is
enabled
2021-04-14 13:58:22 mail-fd JobId 1826: ACL support is enabled
2021-04-14 13:58:22 bareos-sd JobId 1826: Volume "Monthly-0033"
previously written, moving to end of data.
2021-04-14 13:58:22 bareos-sd JobId 1826: Ready to append to end of
Volume "Monthly-0033" size=142339994623
2021-04-14 13:58:20 bareos-dir JobId 1826: No prior Full backup Job
record found.
2021-04-14 13:58:20 bareos-dir JobId 1826: No prior or suitable Full
backup found in catalog. Doing FULL backup.
-------------------------------------------------------------------------------------------------------------------------
Connecting to Client <inetserver>-fd at <inetserver>.de:9102
Handshake: Immediate TLS, Encryption: TLS_CHACHA20_POLY1305_SHA256
mail-fd Version: 20.0.1 (02 March 2021) Ubuntu 18.04.5 LTS
Daemon started 13-Apr-21 22:20. Jobs: run=2 running=0, bareos.org build
binary
Sizeof: boffset_t=8 size_t=8 debug=0 trace=0 bwlimit=0kB/s
Running Jobs:
bareos-dir (director) connected at: 14-Apr-21 16:16
No Jobs running.
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
======================================================================
1781 Incr 117 704.5 M OK 06-Apr-21 09:03
1786 Incr 166 681.1 M OK 07-Apr-21 09:03
1791 Incr 1,937 654.5 M OK 08-Apr-21 09:03
1796 Incr 51 9.351 M Error 09-Apr-21 11:40
1801 Incr 124 916.2 M OK 10-Apr-21 09:03
1808 Diff 1,984 2.421 G OK 11-Apr-21 09:08
1813 Incr 125 545.4 M OK 12-Apr-21 09:02
1818 Incr 1,582 703.9 M OK 13-Apr-21 09:03
1823 Incr 2,526 847.1 M OK 14-Apr-21 09:02
1826 Full 265,762 9.927 G OK 14-Apr-21 14:26
====
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/fc92f7d1-2a1b-a66c-7a5e-e8fa3d60dc18%40gmail.com.