Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Log Shipping failed

Posted on 2010-11-30
8
Medium Priority
?
655 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 2000 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
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.
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.

610 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