SD-7.4.4(ubuntu 16)Director-7.4.4(ubuntu 16)FD-5.2.10(windows)
我无法使用Bacula备份Windows客户端。当备份大小大约为1MB或2时我可以运行备份,但是当运行500MB的备份时,我每次都会得到相同的错误
“导演与此工作的SD连接丢失了。”
有些事要提。当我发出status client
时:
Terminated Jobs: JobId Level Files Bytes Status Finished
======================================================================
81 Full 5,796 514.8 M OK 06-Nov-17 12:50 BackupComputerA
当我发出status dir
06-Nov 17:58 acme-director JobId 81: Error: Director's connection to SD for this Job was lost.
06-Nov 17:58 acme-director JobId 81: Error: Bacula acme-director 7.4.4 (202Sep16):
Build OS: arm-unknown-linux-gnueabihf debian 9.0
JobId: 81
Job: BackupComputerA.2017-11-06_17.41.01_03
Backup Level: Full (upgraded from Incremental)
Client: "Computer-A-fd" 5.2.10 (28Jun12) Microsoft (build 9200), 32-bit,Cross-compile,Win32
FileSet: "Full Set" 2017-11-03 22:12:58
Pool: "RemoteFile" (From Job resource)
Catalog: "MyCatalog" (From Client resource)
Storage: "File1" (From Job resource)
Scheduled time: 06-Nov-2017 17:40:59
Start time: 06-Nov-2017 17:41:04
End time: 06-Nov-2017 17:58:00
Elapsed time: 16 mins 56 secs
Priority: 10
FD Files Written: 5,796
SD Files Written: 0
FD Bytes Written: 514,883,164 (514.8 MB)
SD Bytes Written: 0 (0 B)
Rate: 506.8 KB/s
Software Compression: 100.0% 1.0:1
Snapshot/VSS: yes
Encryption: yes
Accurate: no
Volume name(s):
Volume Session Id: 1
Volume Session Time: 1509989906
Last Volume Bytes: 8,045,880,119 (8.045 GB)
Non-fatal FD errors: 1
SD Errors: 0
FD termination status: OK
SD termination status: Error
Termination: *** Backup Error ***
进入备份大约5分钟后,我收到一条消息:
Running Jobs:
Console connected at 06-Nov-17 18:08
JobId Type Level Files Bytes Name Status
======================================================================
83 Back Full 0 0 BackupComputerE has terminated
====
作业完成并终止,但之后失去连接,我从未得到
“OK”
用于状态更新。
我已将"Heartbeat Interval = 1 Minute"
添加到所有守护进程中但仍然没有运气。使用mysql作为Director上的数据库
未来感谢任何帮助
答案 0 :(得分:2)
对于任何有相同问题的人,我能够通过向客户端添加心跳间隔并使用
调整保持活动时间来解决SD和导演之间的这个问题。存储守护程序和导演上的sysctl -w net.ipv4.tcp_keepalive_time = 60
。使用bconsole远程连接到控制器也中断了作业,因此我在与导演相同的机器上运行了bconsole并通过ssh连接。