Solved

Log Shipping failed

Posted on 2010-11-30
8
650 Views
Last Modified: 2012-05-10
Experts.

I have few log shipping jobs failed the reason is, see error:

 RESTORE LOG is terminating abnormally. [SQLSTATE 42000] (Error 3013)  Cannot open backup device 'X:\abc-logbackup\tlog201010292205.TRN'. Device error or device off-line. See the SQL Server error log for more details. [SQLSTATE 42000] (Error 3201).  The step failed.

I checked standby server, it is running fine. any solution?
Lynn
0
Comment
Question by:yrcdba7
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
8 Comments
 
LVL 16

Expert Comment

by:EvilPostIt
ID: 34240084
Does the file exists? If so try copying the original from the source server.

If that doesnt work you may have to restore a full backup from after that transaction log backup as it may be corrupted.
0
 
LVL 3

Accepted Solution

by:
GSGDBA earned 500 total points
ID: 34240188
0
 

Author Comment

by:yrcdba7
ID: 34240922
I saw this log shipping in standby server related database ( KKdb) status is loading, I guess the database in standby server crushed. I ran those command then refresh database but nothing help.

RESTORE DATABASE KKdb WITH RECOVERY
sp_resetstatus KKdb
DBCC DBRECOVER('KKdb')

any solutione w/o restore db in statndby server?
Lynn
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 3

Expert Comment

by:GSGDBA
ID: 34240982
when status is Loading. It means the resotre process is not complete.
Wait till the restores process completes.
0
 

Author Comment

by:yrcdba7
ID: 34241014
Thank you GSGDBA, I will try your link. Lynn
0
 

Author Comment

by:yrcdba7
ID: 34241135
The standby server is clustering server, so can I do restore db to it?
0
 
LVL 3

Expert Comment

by:GSGDBA
ID: 34241336
Yes, Restoring Database will not affect your cluster.
You are doing database level changes only.
0
 
LVL 16

Expert Comment

by:EvilPostIt
ID: 34246010
When transaction log shipping is running, the destination database will always be in a "Restoring" state. Unless you have it in standby mode. Which means that it is still in a restoring state but you can read the data.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question