question

sand143eep avatar image
sand143eep asked

Logshipping failure

Hi Team,

We have faced a issue in logshipping in the morning. the restore job was failed at 11:38 and more than 146 log backups pending for restore. we tried to restore manually the logbackup happened at 11:38 but it failed. we skipped that backup and restored the nex backup which restored successfully.

we are not sure what was wrong with that 11:38 backup in logshipping. can any one help in providing light on this.

sql-server-2008-r2sql server 2012logshipping
3 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sand143eep avatar image sand143eep commented ·

we got the error

[SQLSTATE 42000] (Error 50000)

0 Likes 0 ·
Kev Riley avatar image Kev Riley ♦♦ commented ·

what was the error when you manually tried to restore the log backup?

0 Likes 0 ·
sand143eep avatar image sand143eep commented ·

Normally as per LSN it should restore the 11:38 backup as well but it havent happened thats the confusion we have. and hte size of the backup we can see is 1kb which is really astonishing where as min size we get is 4500kb

0 Likes 0 ·
sand143eep avatar image
sand143eep answered

it was resoring with the help of red gate and the error is like there is no space on some backupfile and a number it gave ex backup_1236579890

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sand143eep avatar image
sand143eep answered

Hi Team,

we found the reason, on one of the Redgate tool logs we found the following

Warning 170: Log files are not in sequence: 'xxxxxxxxxxxxxxxxxx.sqb' and 'xxxxxxxxxxxxxxxxxxxxxxx.sqb' and

Warning 170: No LSN information contained in file: xxxxxxxxxxxxxxxxxxx.sqb which i highlighted with 2kb.
again the question here is why these files are not in sequence what are the causes that nake the logbackups not in sequence.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Kev Riley avatar image Kev Riley ♦♦ commented ·

You may be better asking the question to Redgate support, as you are using their tools to do the backup and restore.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.