SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Logshipping Restore job is failing


Logshipping Restore job is failing

Author
Message
gary1
gary1
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1650 Visits: 2249
Hi,

We are using lite speed for backups. Yesterday, at 6:15pm, the log backup job is failed. The SQL Server error log says, the log backup was done but there is NO backup file on disk. The restore job on Subscriber is trying to restore the 6:15 pm backup file and it's keep failing. The subsequent log backups are running fine but the restore is keep failing to restore the 6:15 pm backup file which dos not exist on disk.


Did not understand the fact that, error log says the backup happened but there is no file, the SQLAgent says the backup job failed.


Backup job log:


Executed as user: abc\sqlservice. 18:15:05 - Starting transaction log backup. Primary ID: '940df8f5-5000-4290-ab92-a59d25853ebb' 18:15:05 - Retrieved backup settings. Primary Database: 'EW', Backup Directory: '\\sqlins1\LogShipping_Backups\', Backup Retention Period: 4320 minute(s) 18:15:05 - Retrieved LiteSpeed backup settings. Compression level: , Encrypted backup: False 18:15:20 - Backup failed. Changed database context to 'master'. LiteSpeed(R) for SQL Server Version 6.5.1.1018 Copyright 2011 Quest Software, Inc. SQL Server has returned a failure message to LiteSpeed for SQL Server which has prevented the operation from succeeding. The following message is not a LiteSpeed for SQL Server message. Please refer to SQL Server books online or Microsoft technical support for a solution: Processed 1 pages for database 'EW', file 'EW_log' on file 1. BACKUP LOG successfully processed 1 pages in 0.293 seconds (0.004 MB/sec). Could not insert a backup or restore history/detail record in the msdb database. This may indicate a problem with the msdb database. The backup/restore operation was still successful. Transaction (Process ID 536) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. Process Exit Code -1. The step failed.


Message from SQL Server error log:

2013-09-28 18:15:08.88 Backup Log was backed up. Database: 2013-09-28 18:15:08.88 Backup Log was backed up. Database: EW, creation date(time): 2011/09/12(15:20:02), first LSN: 517:103852:1, last LSN: 517:103855:1, number of dump devices: 2, device information: (FILE=1, TYPE=VIRTUAL_DEVICE: {'VDI_10025041-CE56-4272-82F4-69E4CDC7F66C_0', 'VDI_10025041-CE56-4272-82F4-69E4CDC7F66C_1'}). This is an informational message only. No user action is required.o, creation date(time): 2011/09/12(15:20:02), first LSN: 517:103852:1, last LSN: 517:103855:1, number of dump devices: 2, device information: (FILE=1, TYPE=VIRTUAL_DEVICE: {'VDI_10025041-CE56-4272-82F4-69E4CDC7F66C_0', 'VDI_10025041-CE56-4272-82F4-69E4CDC7F66C_1'}). This is an informational message only. No user action is required.


Restore job failure:


Msg 61700, Level 16, State 1, Line 0
Unexpected termination on thread: 1, Return code: x80770004

RESTORE LOG is terminating abnormally.
The log in this backup set begins at LSN 517000010385500001, which is too recent to apply to the database. An earlier log backup that includes LSN 517000010385200001 can be restored.

Please advise.

Question: how to get the log backup file names from msdb with the log sequence number LSN 517000010385200001?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search