Re: Restoring Server which utilizes Log Shipping

From: Andrew J. Kelly (sqlmvpnooospam_at_shadhawk.com)
Date: 07/30/04


Date: Fri, 30 Jul 2004 14:02:26 -0400

The Log shipping wizard will only truncate the log after it has backed it up
so they are still fine for a restore. Why do you have 1000 log files?
You only need the ones from the last full backup. How often are you issuing
log backups? You might consider doing differentials during the day as well
if you backup the log frequently to save restore time. Then you only have
to restore logs from the last Diff.

-- 
Andrew J. Kelly  SQL MVP
"Will Wirtz" <WillCWirtz@Yahoo.com> wrote in message
news:223f5e88.0407300924.10482dca@posting.google.com...
> 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

  • Backup and Restore Files
    ... What is the best way to backup and restore a runtime database file? ... pszDisplayName As String ...
    (microsoft.public.access.gettingstarted)
  • RE: How do I restore from mdf and ldf files?
    ... Tasks -> Backup Database ... Tasks -> Restore Database ... Windows 2003 Server with Latest Service Pack ... Pre-requisites for Sharepoint Backup and Restore: ...
    (microsoft.public.sharepoint.portalserver)
  • Re: POINT IN TIME RESTORE
    ... This is what you should have done in order to do the restore as you wish: ... > 3- erase data ... > 5- restore database with norecovery ... The BACKUP DATABAE can of course be at an earlier point in time, ...
    (microsoft.public.sqlserver.server)
  • RE: How to restore edb & stm files from bkf backup file on another exc
    ... copied to a different storage group on the same server or to a different ... On production server successfully backup information ... Restore Status ... Failed to find a database to restore to from the Microsoft ...
    (microsoft.public.exchange.admin)
  • Re: Transaction Log ??
    ... we used to simplify our database restore process: ... every database got their respective backup folder. ... -- get logFileName, FirstLSN, LastLSN list ...
    (microsoft.public.sqlserver.security)