Solved

Log Shipping failed

Posted on 2010-11-30
8
641 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

760 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

21 Experts available now in Live!

Get 1:1 Help Now