April 24, 2014 at 8:08 pm
Got this trying to restore a DB from archive. What are my options? You can ignore the part about the .ldf, that was just my last attempt to attach the db without the log. DB won't attach via GUI, but maybe one of you lovely, lovely people knows a command that will get it to attach so I can run check db on it.
Thanks
April 24, 2014 at 9:13 pm
Do you have access to any backups for the database? You may need to see if you have a good backup prior to the database becoming corrupt.
April 25, 2014 at 1:33 am
I'd second the 'restore from last good backup', but might be possible to hack-attach the database. Last resort though.
http://www.sqlskills.com/blogs/paul/disaster-recovery-101-hack-attach-a-damaged-database/
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 25, 2014 at 7:54 am
If I had one, that's what I'd do. This was an old backup whose data got aged out after the mdf and ldf were moved to archive.
I'll check that link out and see if I can do anything with it.
Thanks
April 25, 2014 at 11:23 am
That didn't work either. Thankfully the archival process is confused enough that there was another copy of the mdf and ldf sitting around in another batch. :w00t:
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply