Re: Restore log (multiple logs in 1 device)
From: Bob Simms (bob_simms_at_somewhere.com)
Date: 04/08/04
- Next message: Bob Simms: "Re: HELP!!"
- Previous message: Bob Simms: "Re: Can we backup to a remote drive?"
- In reply to: Cris: "Restore log (multiple logs in 1 device)"
- Next in thread: Wayne Snyder: "Re: Restore log (multiple logs in 1 device)"
- Reply: Wayne Snyder: "Re: Restore log (multiple logs in 1 device)"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 8 Apr 2004 21:35:18 +0100
"Cris" <anonymous@discussions.microsoft.com> wrote in message
news:FF7A1E18-6A5E-4671-84F4-DE6FB1F4B8B6@microsoft.com...
> Hi everyone,
> The way I take my backups is to put a full backup in a
device in the beginning of the week and every hour I take a log backup. So,
at the end of the week I can have more than 150 log backups in the device.
If I would like to restore my database at the end of the week(April 8, 2004
at 9:45), I put all the logs in the request like that:
>
> restore database AAA from DeviceA with norecovery
> restore log AAA from DeviceA with file=2, norecovery
> restore log AAA from DeviceA with file=3, norecovery
> restore log AAA from DeviceA with file=4, norecovery
> ...
> restore log AAA from DeviceA with file=158 recovery stopat = '2004-04-08
9:45:00'
>
> Is their a better way to do this ?
This is the only way to restore the backups as you are taking them. You
could try taking differential backups every now and then, which would speed
up recovery time.
e.g. if you do a full backup once a week, log backups every hour and a
differential backup every midnight, if on Friday you want to restore to 0945
then you would need to recover your full backup, your Thursday night
differential back up then just the log backups from your last differential.
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.655 / Virus Database: 420 - Release Date: 08/04/2004
- Next message: Bob Simms: "Re: HELP!!"
- Previous message: Bob Simms: "Re: Can we backup to a remote drive?"
- In reply to: Cris: "Restore log (multiple logs in 1 device)"
- Next in thread: Wayne Snyder: "Re: Restore log (multiple logs in 1 device)"
- Reply: Wayne Snyder: "Re: Restore log (multiple logs in 1 device)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|