我有一些 SQL Servers 2016 标准版。有备份的维护计划。特定作业运行此维护计划。工作的结果是成功。但工作分为两个步骤。
**-- First step ( Success )**
Date 21.04.2021 1:00:00
Log Job History (DB-backup.Subplan_1)
...
Message
Executed as user: NT Service\SQLSERVERAGENT. The step succeeded.
**-- Second step ( Success ), but in dbo.sysjobhistory I can see run_status as 4 ( In Progress )**
Date 21.04.2021 1:00:00
Log Job History (DB-backup.Subplan_1)
...
Started: 1:00:00 AM
DTExec: The package execution returned DTSER_SUCCESS (0).
我已经尝试在测试服务器上恢复数据库,一切正常。
为什么第二步仍然在run_status = 4?