Restoring Server which utilizes Log Shipping

From: Will Wirtz (WillCWirtz_at_Yahoo.com)
Date: 07/30/04


Date: 30 Jul 2004 10:24:55 -0700

I have a large database that gets a full backup every night. We
utilize Log Shipping from this database to another database on a
reporting server. During the day Log Shipping creates log files on
the local server and truncates the transaction log for the database.
Everything works great. Lets say at 2:00pm the database crashes. I
restore the database from the previous nights full backup. Now I want
to restore the transaction log up to 2:00pm. The problem is that it's
empty because the log shipping has truncated it throughout the day.
What I do have is over 1000 small transaction files that were created
for log shipping. How can I apply all 1000 transaction files in the
shortest amount of time? I won't even think about doing each one
seperately.

Will



Relevant Pages

  • Re: Log shipping and error 22029
    ... do not use the option "Allow database to assume primary role" ... Reversing the direction of log shipping is a manual process. ... Promote the secondary database on the Standby server using ... > After I have run the stored procedures to demote the primary, ...
    (microsoft.public.sqlserver.server)
  • Re: Why should I use LogShipping and not Replication
    ... Log shipping doesn't "replicate" anything. ... the transaction log will be moved with log shipping. ... You get everything in the database ... Replication uses various techniques to duplicate transactions between ...
    (microsoft.public.sqlserver.replication)
  • RE: Database Mirroring or Log Shipping?
    ... I used SSMS to configure the Log Shipping in 2005 and it seems to get the ... Josh Blair (hfdev) ... "Because the mirror database is in a recovering state, ...
    (microsoft.public.sqlserver.replication)
  • RE: Database Mirroring or Log Shipping?
    ... Log Shipping nothing but moving tlog from Primary to Secondary once restored ... "Because the mirror database is in a recovering state, ... snapshots are not an option for us b/c we have SQL 2005 STD. ...
    (microsoft.public.sqlserver.replication)
  • Log Shipping fails on some database AFTER 10th or 11th iteration.
    ... deploying Log Shipping on our SQL server. ... 'Log Ship' under this configuration, with different copy & load schedules. ... The initial configuration, creation of the destination database, restoration ...
    (microsoft.public.sqlserver.replication)