Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft SQL Server > Re: Applying tr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 11 Topic 11172 of 11517
Post > Topic >>

Re: Applying tranaction log to old data file

by "Dan Guzman" <guzmanda@[EMAIL PROTECTED] > Jun 26, 2008 at 07:53 PM

> DO NOT DO TRUNCATE ONLY - YOU WILL LOOSE YOUR LOGS FOR GOOD!!!!!!!

Yes, I meant NO_TRUNCATE as in the original example I posted.  I don't 
believe the TRUNCATE_ONLY option is allowed when the data files are 
inaccessible.

Thanks for the correction.

-- 
Hope this helps.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/

"Sybaseguru" <collap@[EMAIL PROTECTED]
> wrote in message 
news:4863d830$0$25950$6e1ede2f@[EMAIL PROTECTED]
>>
>> You should be able to backup the transaction log using the
TRUNCATE_ONLY
>> option even if the data file(s) is unavailable.
>>
> DO NOT DO TRUNCATE ONLY - YOU WILL LOOSE YOUR LOGS FOR GOOD!!!!!!!
>
> The procedure you need is in 3 parts:-
>
> Firstly you need to dump the 24gb transaction log - ie take it out of
the
> database onto a file system file. Read up on "dump tran...no_truncate".
> This will work even if the data is stuffed as long as the log is intact.
>
> Secondly you use you old dump from yonks ago to reset up the database.
If
> the disks are ok you can just use "load database"
>
> Thirdly you apply the transaction log that you saved in the first step. 
> read
> up on "load tran"
>
> The secret is in the planning of the recovery. If you've got space you
can
> create a whole new databse and do the recovery to that and when you are
> happy rename the databases and cycle the server.
>
 




 11 Posts in Topic:
Applying tranaction log to old data file
koszuf@[EMAIL PROTECTED]   2008-06-24 07:01:47 
Re: Applying tranaction log to old data file
Ed Murphy <emurphy42@[  2008-06-24 07:35:00 
Re: Applying tranaction log to old data file
Erland Sommarskog <esq  2008-06-24 21:06:35 
Re: Applying tranaction log to old data file
koszuf@[EMAIL PROTECTED]   2008-06-24 23:53:05 
Re: Applying tranaction log to old data file
"Dan Guzman" &l  2008-06-25 06:41:14 
Re: Applying tranaction log to old data file
koszuf@[EMAIL PROTECTED]   2008-06-25 05:49:26 
Re: Applying tranaction log to old data file
"Dan Guzman" &l  2008-06-25 21:06:59 
Re: Applying tranaction log to old data file
Sybaseguru <collap@[EM  2008-06-26 18:56:00 
Re: Applying tranaction log to old data file
"Dan Guzman" &l  2008-06-26 19:53:27 
Re: Applying tranaction log to old data file
Erland Sommarskog <esq  2008-06-26 21:54:58 
Re: Applying tranaction log to old data file
"Dan Guzman" &l  2008-06-26 19:55:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 1:20:33 CST 2008.