Solved

Log Shipping failed

Posted on 2010-11-30
8
642 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
  • 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
 
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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
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.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

932 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now