SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Restore A Log
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

TSQLMan
Posting Yak Master

USA
160 Posts

Posted - 10/12/2006 :  15:18:31  Show Profile  Click to see TSQLMan's MSN Messenger address  Reply with Quote
I need to restore a .BAK that was backed up with a BACKUP LOG Command without a prior full backup of the database.

I also need to specify a STOPAT time.

It won't let me do a RESTORE with Recovery on a file created by a backup log commmand of course.

I have a development database on my laptop, and accidentally did a truncate statement on an important table.

Any suggestions?

tkizer
Almighty SQL Goddess

USA
36601 Posts

Posted - 10/12/2006 :  15:22:35  Show Profile  Visit tkizer's Homepage  Reply with Quote
You can't restore a transaction log without a starting full backup restore. In order to restore a transaction log, you need the entire chain which you do not have.

You might be able to recover the data using a third party log reader tool, such as Lumigent's Log Explorer. Red Gate also has a product like this.

Tara Kizer

Edited by - tkizer on 10/12/2006 15:23:10
Go to Top of Page

TSQLMan
Posting Yak Master

USA
160 Posts

Posted - 10/12/2006 :  15:28:12  Show Profile  Click to see TSQLMan's MSN Messenger address  Reply with Quote
Thanks Tara, I knew I needed a full backup, but thought there might be another option.

Have you ever used either of the Lumigent or Red Gate Tools??
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
36601 Posts

Posted - 10/12/2006 :  15:31:32  Show Profile  Visit tkizer's Homepage  Reply with Quote
I haven't. But I know others have and highly recommend them. They are quite cheap tools considering what they are intended for. I believe you might even be able to just use a trial version of it.

Tara Kizer
Go to Top of Page

TSQLMan
Posting Yak Master

USA
160 Posts

Posted - 10/12/2006 :  15:40:30  Show Profile  Click to see TSQLMan's MSN Messenger address  Reply with Quote
I just dowloaded the Lumigent trial, but there is apparently a limitation, that only allows you to connect to their database, pubs, or Nwind. I am going to look at the Red Gate product as well.
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
36601 Posts

Posted - 10/12/2006 :  15:44:57  Show Profile  Visit tkizer's Homepage  Reply with Quote
I believe both of them are under 500 bucks, so if neither trial works for you and the data is mucho importante, then you'll probably want to shell out the cash for it. But you'll want to test the same scenario on pubs or whatever to ensure it'll be able to recover what you want.

Tara Kizer
Go to Top of Page

TSQLMan
Posting Yak Master

USA
160 Posts

Posted - 10/12/2006 :  15:55:38  Show Profile  Click to see TSQLMan's MSN Messenger address  Reply with Quote
My wallet is already out. Thanks
Go to Top of Page

TSQLMan
Posting Yak Master

USA
160 Posts

Posted - 10/12/2006 :  21:34:43  Show Profile  Click to see TSQLMan's MSN Messenger address  Reply with Quote
quote:
Originally posted by tkizer

I believe both of them are under 500 bucks, so if neither trial works for you and the data is mucho importante, then you'll probably want to shell out the cash for it. But you'll want to test the same scenario on pubs or whatever to ensure it'll be able to recover what you want.

Tara Kizer



The Red Gate SQL Log Rescue Software is worth every Penny. Very intuiitive Interface, and it took all of 3 minutes to restore the truncated data.
Go to Top of Page

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

USA
7020 Posts

Posted - 10/12/2006 :  22:20:32  Show Profile  Reply with Quote
It's even cheaper to have good backups.



CODO ERGO SUM
Go to Top of Page

jen
Flowing Fount of Yak Knowledge

Sweden
4110 Posts

Posted - 10/12/2006 :  22:34:09  Show Profile  Send jen a Yahoo! Message  Reply with Quote
you can try apexsql

--------------------
keeping it simple...
Go to Top of Page

Kristen
Test

United Kingdom
22403 Posts

Posted - 10/13/2006 :  05:38:09  Show Profile  Reply with Quote
"It's even cheaper to have good backups."

I can't restore to point in time from my backups in anything approaching 3 minutes ... I'm going to stop taking backups and get Red Gate SQL Log Rescue Software instead. Plus it will save loads of disk space, CPU time, and my time checking the useless logs that never have anything interesting for me to read - its like looking for a needle in a haystack each morning. Well - not any more!

Just in case you are new here and followed a Google link thinking you had found Nirvana I'm afraid I now have to tell you that this was intended to be a joke <-- See?!

Kristen
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000