Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Torn page problem
Hi
When trying to create an SqlServer job, clicking OK' I got the message
"Error 823: I/O error (torn page) detected during read at offset..... in
file  'd:\sqlserver\MSSQL\
data\msdata.mdf'. The job was not saved"

I asked about the problem a little to find out that I need to restore a
backup of MSdb because the job definitions are there. I rrad some other
place (I can't remember where) that in order to restore MSdb I need to
restore a backup of Master as well.

Can anyone give me some more information on this.
Is there any way else to do it besides restoring the backup ?
To restore, do I need to recreate the  database or just restore the
appropiate backup file ?

David Greenberg


Report this thread to moderator Post Follow-up to this message
Old Post
David Greenberg
02-16-06 12:23 PM


Re: Torn page problem
David Greenberg (davidgr@iba.org.il)  writes:
> When trying to create an SqlServer job, clicking OK' I got the message
> "Error 823: I/O error (torn page) detected during read at offset..... in
> file  'd:\sqlserver\MSSQL\
data\msdata.mdf'. The job was not saved"
>
> I asked about the problem a little to find out that I need to restore a
> backup of MSdb because the job definitions are there. I rrad some other
> place (I can't remember where) that in order to restore MSdb I need to
> restore a backup of Master as well.

I can't find any information about this. What I did find in Books Online
was that if you run the Rebuild Master utility, you will need to restore
msdb, as this utility writes a new msdb.

> Can anyone give me some more information on this.
> Is there any way else to do it besides restoring the backup ?

DBCC with various repair options may be an alternative, but I would
certainly prefer a backup if there is one recent.

> To restore, do I need to recreate the  database or just restore the
> appropiate backup file ?

Just restore. But you will have to make sure that SQL Agent is not
running. You may find http://www.dbarecovery.com/restoremsdb.html
helpful.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx

Report this thread to moderator Post Follow-up to this message
Old Post
Erland Sommarskog
02-17-06 12:25 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 04:42 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006