Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Unable to take a backup after repairing suspect database...

$
0
0

Hi All

I have recovered a database from suspect mode by the following steps.

1. EXEC sp_resetstatus '<Database Name>';

2. ALTER DATABASE <Database Name> SET EMERGENCY;

3. DBCC CHECKDB('<Database Name>');

4.  ALTER DATABASE <Database Name> SET SINGLE_USER WITH ROLLBACK IMMEDIATE;

5. DBCC CHECKDB ('<Database Name>', REPAIR_ALLOW_DATA_LOSS);
6. ALTER DATABASE <Database Name> SET MULTI_USER;

Now i am able to see tables expect the stored procedures. When am trying to take a backup throwing me an error as" A nonrecoverable I/O error occurred on file "E:\MyDB\MyDB.mdf:" 1(Incorrect function.)."

Can anyone help me on this please... I need the solution ASAP...


Navakanth


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>