Re: POINT IN TIME RESTORE

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Vadim Mitin (vadimmitin_at_mail.ru)
Date: 03/23/04


Date: Wed, 24 Mar 2004 00:16:03 +0300

Try like this
http://www.sql-server-performance.com/lockwoodtech_log_navigator_spotlight.asp

> Sorry to jump in, I have read the thread and it is close to what I
> would like to accomplish but not quite.
>
> I have a perfefctly good database with a .mdf and a .ldf file. The
> recovery model is FULL. It was a new database a few weeks ago for
> developing a new product.
>
> We entered all kinds of info into it before we realized we were not
> backing it up. Today we erased all the data...oops..
>
> So I have a good .mdf and a full .ldf, I do a backup of both (wrong
> thing)? And I try to restore using the cdoe I have seen here before..
>
> RESTORE DATABASE mydatabase FROM DISK='c:\mybackup\pnedata' WITH
> NORECOVERY;
>
> RESTORE LOG PNEBilling FROM DISK='c:\mybackup\pnedata' WITH RECOVERY,
> STOPAT = 'Mar 18, 2004 10:00 AM';
>
> This runs without error but restores the database to its CURRENT state
> which is empty of data!
>
> If I run the same from Enterprise Manager and I check the "Point in
> time" it will not allow me to select anything but today.
>
> It seems that I should be able to do this since I have a full .ldf
> file but the method is beyond my technical skills.
>
>
> Any ideas?
>
> Thanks
>
> Tim



Relevant Pages

  • Re: POINT IN TIME RESTORE
    ... I have a perfefctly good database with a .mdf and a .ldf file. ... recovery model is FULL. ... And I try to restore using the cdoe I have seen here before.. ...
    (microsoft.public.sqlserver.server)
  • Re: DB changing from Simple to Full?
    ... Production version of this database it's not for the Test version, ... both databases so that it saves the recovery model before changing it to ... The script errored out on the ALTER TRIGGER command so I changed it to ... If the restore to Test is NOT a nightly process that rules out #1 (more ...
    (microsoft.public.sqlserver.setup)
  • Re: Cancaling last action
    ... have a database backup, you can restore the database and then restore ... any log files. ... Simple recovery model). ...
    (microsoft.public.sqlserver.programming)
  • Unable to backup a log
    ... Have a full database backup from a few ... days ago (using "simple" recovery model). ... restore to a point in time. ...
    (microsoft.public.sqlserver.server)
  • Re: Backend Exchange migrate to New Hardware (Server)
    ... Exchange mailbox stores and Exchange public folder stores. ... When you use Backup to restore Exchange databases, ... Storage Engine to restore Exchange database files and their ...
    (microsoft.public.exchange.setup)