微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

我在SQL Server日志传送中收到还原错误

如何解决我在SQL Server日志传送中收到还原错误

Date        04/11/2020 2:24:00 AM
Log     Job History (LSRestore_DSR26_Centegy_SNDPro_SFL_CSDP)

Step ID     1
Server      VISIONSRNPD
Job Name        LSRestore_DSR26_Centegy_SNDPro_SFL_CSDP
Step Name       Log shipping restore log job step.
Duration        00:00:02
sql Severity    0
sql Message ID  0
Operator Emailed    
Operator Net sent   
Operator Paged  
Retries Attempted   0

Message
Executed as user: VISIONSRNPD\shanfood. The step Failed.


////////////////////////////////////////

Date        04/11/2020 2:24:00 AM
Log     Job History (LSRestore_DSR26_Centegy_SNDPro_SFL_CSDP)

Step ID     1
Server      VISIONSRNPD
Job Name        LSRestore_DSR26_Centegy_SNDPro_SFL_CSDP
Step Name       Log shipping restore log job step.
Duration        00:00:01
sql Severity    0
sql Message ID  0
Operator Emailed    
Operator Net sent   
Operator Paged  
Retries Attempted   0

Message
2020-11-04 02:24:00.96  *** Error: The log backup file 'C:\copylogs\Centegy_SNDPro_SFL_CSDP_20201102175501.trn' was verified but Could not be applied to secondary database 'Centegy_SNDPro_SFL_CSDP'.(Microsoft.sqlServer.Management.LogShipping) ***
2020-11-04 02:24:00.96  Deleting old log backup files. Primary Database: 'Centegy_SNDPro_SFL_CSDP'
2020-11-04 02:24:00.97  The restore operation completed with errors. Secondary ID: '0e80f574-f1f5-4dd5-8e70-4082979a34cc'
2020-11-04 02:24:00.99  ----- END OF TRANSACTION LOG RESTORE     -----

Exit Status: 1 (Error)



/////////////////////////////////

Date        04/11/2020 2:24:00 AM
Log     Job History (LSRestore_DSR26_Centegy_SNDPro_SFL_CSDP)

Step ID     1
Server      VISIONSRNPD
Job Name        LSRestore_DSR26_Centegy_SNDPro_SFL_CSDP
Step Name       Log shipping restore log job step.
Duration        00:00:00
sql Severity    0
sql Message ID  0
Operator Emailed    
Operator Net sent   
Operator Paged  
Retries Attempted   0

Message
2020-11-04 02:24:00.91  *** Error: Could not apply log backup file 'C:\copylogs\Centegy_SNDPro_SFL_CSDP_20201102175501.trn' to secondary database 'Centegy_SNDPro_SFL_CSDP'.(Microsoft.sqlServer.Management.LogShipping) ***
2020-11-04 02:24:00.91  *** Error: During startup of warm standby database 'Centegy_SNDPro_SFL_CSDP' (database ID 5),its standby file ('C:\Program Files\Microsoft sql Server\MSsql12.MSsqlSERVER\MSsql\DATA\Centegy_SNDPro_SFL_CSDP_20201102181606.tuf') was inaccessible to the RESTORE statement. The operating system error was '32(The process cannot access the file because it is being used by another process.)'. Diagnose the operating system error,correct the problem,and retry startup.
RESTORE LOG is terminating abnormally.(.Net sqlClient Data Provider) ***


///////////////////////////////////////

Date        04/11/2020 2:24:00 AM
Log     Job History (LSRestore_DSR26_Centegy_SNDPro_SFL_CSDP)

Step ID     1
Server      VISIONSRNPD
Job Name        LSRestore_DSR26_Centegy_SNDPro_SFL_CSDP
Step Name       Log shipping restore log job step.
Duration        00:00:00
sql Severity    0
sql Message ID  0
Operator Emailed    
Operator Net sent   
Operator Paged  
Retries Attempted   0

Message
2020-11-04 02:24:00.68  Starting transaction log restore. Secondary ID: '0e80f574-f1f5-4dd5-8e70-4082979a34cc'
2020-11-04 02:24:00.68  Retrieving restore settings. Secondary ID: '0e80f574-f1f5-4dd5-8e70-4082979a34cc'
2020-11-04 02:24:00.68  Retrieved common restore settings. Primary Server: 'DSR26',Primary Database: 'Centegy_SNDPro_SFL_CSDP',Backup Destination Directory: 'C:\copylogs',File Retention Period: 4320 minute(s)
2020-11-04 02:24:00.68  Retrieved database restore settings. Secondary Database: 'Centegy_SNDPro_SFL_CSDP',Restore Delay: 0,Restore All: True,Restore Mode: Standby,disconnect Users: False,Last Restored File: C:\copylogs\Centegy_SNDPro_SFL_CSDP_20201102175000.trn,Block Size: Not Specified,Buffer Count: Not Specified,Max Transfer Size: Not Specified


/////////////////////////////////////


Date        04/11/2020 2:24:00 AM
Log     Job History (LSRestore_DSR26_Centegy_SNDPro_SFL_CSDP)

Step ID     1
Server      VISIONSRNPD
Job Name        LSRestore_DSR26_Centegy_SNDPro_SFL_CSDP
Step Name       Log shipping restore log job step.
Duration        00:00:00
sql Severity    0
sql Message ID  0
Operator Emailed    
Operator Net sent   
Operator Paged  
Retries Attempted   0

Message
2020-11-04 02:24:00.62  ----- START OF TRANSACTION LOG RESTORE   -----


////////////////////


Date        04/11/2020 2:24:00 AM
Log     Job History (LSRestore_DSR26_Centegy_SNDPro_SFL_CSDP)

Step ID     1
Server      VISIONSRNPD
Job Name        LSRestore_DSR26_Centegy_SNDPro_SFL_CSDP
Step Name       Log shipping restore log job step.
Duration        00:00:00
sql Severity    0
sql Message ID  0
Operator Emailed    
Operator Net sent   
Operator Paged  
Retries Attempted   0

Message
Microsoft (R) sql Server Log Shipping Agent
[Assembly Version = 12.0.0.0,File Version = 12.0.2000.8 ((sql14_RTM).140220-1752)]
copyright (c) 2014 Microsoft. All rights reserved.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。