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
 General SQL Server Forums
 Data Corruption Issues
 Software to repair database
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

dk
Starting Member

Croatia
35 Posts

Posted - 05/15/2011 :  15:53:38  Show Profile
Hi all,

I have to repair MS Navison database, 3 GB. The database contains MDF, NDF and log files. I tried a few demo programs, but I didn't manage to get a look at the data, as is usual with these demo programs. I just got a list of all tables.
It would be very nice if somebody can suggest something...

GilaMonster
Flowing Fount of Yak Knowledge

South Africa
4507 Posts

Posted - 05/15/2011 :  17:44:21  Show Profile  Visit GilaMonster's Homepage
Most of the data recovery tools don't work well or at all.

Why are you looking for one? What's wrong with the database?

--
Gail Shaw
SQL Server MVP
Go to Top of Page

dk
Starting Member

Croatia
35 Posts

Posted - 05/16/2011 :  00:35:43  Show Profile
We have SBS 2003 with RAID 5 destroyed. We managed to save all data, but database need to be repaired, because system crushed and database didn't closed.
Go to Top of Page

prett
Posting Yak Master

USA
181 Posts

Posted - 05/16/2011 :  01:36:34  Show Profile  Visit prett's Homepage
Which version you uesd in MS SQL Server..
Go to Top of Page

GilaMonster
Flowing Fount of Yak Knowledge

South Africa
4507 Posts

Posted - 05/16/2011 :  01:43:25  Show Profile  Visit GilaMonster's Homepage
Specific details please. I help a lot of people recover databases using CheckDB. Can't help without details though

Is the DB attached to a database server?
If not, what error do you get attaching?
If it is, what state is it in?

--
Gail Shaw
SQL Server MVP
Go to Top of Page

dk
Starting Member

Croatia
35 Posts

Posted - 05/16/2011 :  11:13:09  Show Profile
It is SQL 2005.

No, we didn't manage to get SBS 2003 back. We will probably install SBS 2011. We tried to attach DB to another server with this error:
DBCC CHECKDB ('NAV500');GO

Msg 7985, Level 16, State 2, Line 1System table pre-checks: Object ID 4. Could not read and latch page (1:2303) with latch type SH. Check statement terminated due to unrepairable error.DBCC results for 'NAV500'.Msg 5233, Level 16, State 98, Line 1Table error: alloc unit ID 262144, page (1:2303). The test (IS_OFF (BUF_IOERR, pBUF->bstat)) failed. The values are 12716041 and -4.CHECKDB found 0 allocation errors and 1 consistency errors not associated with any single object.CHECKDB found 0 allocation errors and 1 consistency errors in database 'NAV500'.

This message we got after created similar DB, closed SQL server, copied NAV files instead similar DB, open SQL again. Then we got DB in SUSPECT mode, and transfered DB to EMERGENCY mode. Then we could get some data from tables with SELECT, from some nothing.

I'll try to get message when we tried to attach DB.

Thanks...
Go to Top of Page

GilaMonster
Flowing Fount of Yak Knowledge

South Africa
4507 Posts

Posted - 05/16/2011 :  11:16:14  Show Profile  Visit GilaMonster's Homepage
Yeah, that's pretty fatal, system tables are damaged. Restore from a backup.

--
Gail Shaw
SQL Server MVP
Go to Top of Page

dk
Starting Member

Croatia
35 Posts

Posted - 05/16/2011 :  11:24:41  Show Profile
This message we got after REPAIR_ALLOW_DATA_LOSS...
Go to Top of Page

dk
Starting Member

Croatia
35 Posts

Posted - 05/16/2011 :  11:26:17  Show Profile
we have backup from 26.1.2011. only... :-(((
Go to Top of Page

GilaMonster
Flowing Fount of Yak Knowledge

South Africa
4507 Posts

Posted - 05/16/2011 :  11:38:09  Show Profile  Visit GilaMonster's Homepage
That may well be the best you can do. One of the critical system tables is damaged, without that there will be problems cracking the rows into columns.

Restore the backup, then use the emergency mode to extract what data you can, merge the two as best as possible.

Critical database, no backups?

--
Gail Shaw
SQL Server MVP

Edited by - GilaMonster on 05/16/2011 11:44:35
Go to Top of Page

dk
Starting Member

Croatia
35 Posts

Posted - 05/16/2011 :  14:15:20  Show Profile
We had tape drive which broke down a few months ago. We couldn't manage to fix it. Finance...
Go to Top of Page

GilaMonster
Flowing Fount of Yak Knowledge

South Africa
4507 Posts

Posted - 05/16/2011 :  15:32:17  Show Profile  Visit GilaMonster's Homepage
And backups couldn't be done to disk because .... ?

--
Gail Shaw
SQL Server MVP
Go to Top of Page

prett
Posting Yak Master

USA
181 Posts

Posted - 05/17/2011 :  00:06:53  Show Profile  Visit prett's Homepage
Hello dk,

If you dont have backup then you should try SQL Recovery Software but first I will suggest you to try its demo version because you dont know this software recover your database or not. Check this software, it supports SQL Server 2005: unspammed
Go to Top of Page

dk
Starting Member

Croatia
35 Posts

Posted - 05/17/2011 :  00:53:03  Show Profile
I tried that program. I got all of the tables, but I can't preview data. So, I am not sure what to do.
Go to Top of Page

GilaMonster
Flowing Fount of Yak Knowledge

South Africa
4507 Posts

Posted - 05/17/2011 :  01:41:32  Show Profile  Visit GilaMonster's Homepage
They want you to buy it, that's why it doesn't show much. If you want to take a chance, go ahead, but there's no guarantee it'll do what is advertised. Bear in mind that with the critical system tables damaged, the tables' definitions may have been lost.

Last time I used one of those type of tools on a seriously corrupt DB (file header was damaged) it showed all the tables so we bought it. It then recovered a portion of the columns for a portion of the tables, not enough for us to even begin to put the DB back together. Complete waste of money

Try first a combination of restoring your last backup and extracting what data you can from suspect DB and combining those. Then see what you have lost and make a call as to whether you will risk buying a data recovery tool.

--
Gail Shaw
SQL Server MVP
Go to Top of Page

prett
Posting Yak Master

USA
181 Posts

Posted - 05/17/2011 :  02:20:20  Show Profile  Visit prett's Homepage
quote:
Originally posted by dk

I tried that program. I got all of the tables, but I can't preview data. So, I am not sure what to do.



Hello dk,

I am not trying to sell any software here. It's your wish to purchase it or not. Only i will suggest you to try its demo version. Demo version shows the preview of all your recovered data. You can also contact the support by this toll free number: +1-877-778-6087 & find the solution of your problem.

Note:If your database is not recovered by the software then they refund your money within one month check this link to know more about refund policy: http://www.stellarinfo.com/pdf/refund-policy.pdf
Go to Top of Page

dk
Starting Member

Croatia
35 Posts

Posted - 05/17/2011 :  03:25:51  Show Profile
This message we got after tried to attasch DB:

An exception occurred while executing a Transact-SQL statement or batch.
(Microsoft.SqlServer.ConnectionInfo)

------------------------------

Could not redo log record (1720:5374:4), for transaction ID (0:0), on page
(3:137496), database 'NAV500' (database ID 11). Page: LSN = (1709:1343:63), type =
11. Log: OpCode = 7, context 11, PrevPageLSN: (1718:553:48). Restore from a backup of
the database, or repair the database.
During redoing of a logged operation in database 'NAV500', an error occurred at log
record ID (1720:5374:4). Typically, the specific failure is previously logged as an
error in the Windows Event Log service. Restore the database from a full backup, or
repair the database.
Could not open new database 'NAV500'. CREATE DATABASE is aborted. (Microsoft SQL
Server, Error: 3456)


Any idea?
Go to Top of Page

GilaMonster
Flowing Fount of Yak Knowledge

South Africa
4507 Posts

Posted - 05/17/2011 :  04:30:00  Show Profile  Visit GilaMonster's Homepage
That would require a hack-attach and repair, but as you've already seen, checkDB can't run due to the system table damage. I don't think this is repairable.

--
Gail Shaw
SQL Server MVP
Go to Top of Page

prett
Posting Yak Master

USA
181 Posts

Posted - 05/17/2011 :  04:35:09  Show Profile  Visit prett's Homepage
Hello dk,

You know when data get overwrite, no one can repair it. If you want to back your data, I will suggest you to try SQL Recovery Software.
Go to Top of Page

3magic
Starting Member

United Arab Emirates
14 Posts

Posted - 08/05/2011 :  02:10:36  Show Profile
Stellar Macintosh Data Recovery helps you recover deleted files, formatted partitions, undelete empty trash, recover documents, those were lost long back.
Go to Top of Page

scarlet123
Starting Member

1 Posts

Posted - 09/07/2011 :  07:28:00  Show Profile
Stellar Phoenix SQL repair is one of the best software which can easily repair sql database. Also it recovers the deleted or missing SQL files within few clicks only. So just try it once.
unspammed
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000