May 19, 2009 at 6:47 am
In my environment logshipping process is there.For this we created backup job from primary server (LON549)and restore job in secondary server(BCPDBS01). every 15 minutes differential backup will happen and restore it in secondary server....
today the job is getting failed...error details is as follows
[Executed as user: CMCK\SQLBCPDBS01. Cannot apply the backup on device '\\Bcpdbs01\g$\Backups\LON549\MH\Diff\MH_DiffBackup_20090519_084500.BAK' to database 'MH'. [SQLSTATE 42000] (Error 3136) RESTORE DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013). The step failed.]
Please help me on this its urgent
May 19, 2009 at 7:00 am
you don't want to be taking and restoring differential backups, you should be doing log backups.
with differential backups as soon as you take a full backup the differential resets and starts again, at a guess this is what has happened to you.
use the logshipping wizard to set up log shipping based on transaction log backups.
---------------------------------------------------------------------
May 19, 2009 at 7:05 am
For one year we are following this way...we cant do any other methods to solve this....
May 19, 2009 at 7:11 am
shanila_minnu (5/19/2009)
For one year we are following this way...we cant do any other methods to solve this....
why can't you?
has a full backup been taken?
---------------------------------------------------------------------
May 19, 2009 at 7:34 am
ya..every day morning full backup will happen
May 19, 2009 at 7:58 am
then is that backup normally taken with the copy only option, or is it normally restored on the standby server?, and one of these two things was not done.
I would suggest switching to log backups.
---------------------------------------------------------------------
May 19, 2009 at 8:33 am
i restored the full backup again and then differential
now the problem is solved
May 19, 2009 at 8:40 am
good, thanks for posting resolution.
I would still recommend switching to logshipping longer term
---------------------------------------------------------------------
March 25, 2010 at 11:35 pm
I am confused with lsn in backup. can u please explain how lsn has importance in taking database backup and log backups. And how the log chain will break and effects the logshipping
Thanks in advance..
March 26, 2010 at 2:09 am
How do you make failure in primary server instance and make secondary server instance databases online
please provide your suggestions..
March 26, 2010 at 2:20 am
Failover - http://msdn.microsoft.com/en-us/library/ms191233.aspx
The LSNs track the ordering of log records. You cannot restore if your LSNs do not go in order.
March 26, 2010 at 2:31 am
Steve, sorry to hijack this posts... But if you have 15 minute logs backups and P2P replication could it lead to lost transations when the backup takes place and the log reader processes?
thanks
March 26, 2010 at 2:42 am
sql_lock (3/26/2010)
Steve, sorry to hijack this posts... But if you have 15 minute logs backups and P2P replication could it lead to lost transations when the backup takes place and the log reader processes?
No. Log records cannot be removed until replication has finished with them. The log_reuse_wait_desc column on sys.databases will show 'REPLICATION' in such a case.
March 26, 2010 at 2:48 am
Thanks Paul... Much appreciated!
Jonlee
Viewing 14 posts - 1 through 13 (of 13 total)
You must be logged in to reply to this topic. Login to reply