Solved

SQL Backup : Error 3201 (dbswritecheck)

Posted on 2000-05-17
10
726 Views
Last Modified: 2012-08-14
I am getting the above error when tring to backup to a device on the local machine.  I can backup to another device located in the same directory. I have checked the permissions and have Full Control.  These worked before I went on vacation but now fail.  I can get around the problem by setting up all my backups to write to a new device but don't really want to do this. Help !
0
Comment
Question by:gurneyn
10 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 2816678
Please check out if the NTAccount the SQL service(s) run do have the permissions...
0
 

Author Comment

by:gurneyn
ID: 2816707
Yes, it has admin rights to machine and domain.
0
 
LVL 15

Expert Comment

by:lyonst
ID: 2816861
Hi,

The description of the Error is as follows.

Can't open dump device '%.*s', device error or device off line. Please consult the SQL Server error log for more details.

Have you tried looking in the Error Log.

Cheers,

T.
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Author Comment

by:gurneyn
ID: 2817123
Error log says 'dbswritecheck : Read of first trailer failed'.
0
 

Author Comment

by:gurneyn
ID: 2824668
Adjusted points from 50 to 100
0
 
LVL 2

Accepted Solution

by:
dambalaji earned 100 total points
ID: 2827441
1. I think the sysdevices is not having the proper entry of that device file. Better run the DBCC on Master  database and try to backup .

2. Create a new device and using sp_addumpdevice try to just add that file to the new device you created.

Get back to me immed. still you have any problem
0
 

Author Comment

by:gurneyn
ID: 2832501
Sorry, pretty new to this - how do I run DBCC ?
0
 
LVL 15

Expert Comment

by:lyonst
ID: 2832534
Hi,

If you have access to Books On Line you can check the correct Syntax for it there.

eg.

DDBC CHECKALLOC [(database_name [, NOINDEX])]

DBCC is used to check the logical and physical consistency of a database, check memory usage, decrease the size of a database, check performance statistics, and so on. DBCC is the SQL Server "database consistency checker."

T.
0
 
LVL 15

Expert Comment

by:lyonst
ID: 2832541
Hi,

OOPS - Should have read DBCC of course.

If you have access to Books On Line you can check the correct Syntax for it there.

eg.

DBCC CHECKALLOC [(database_name [, NOINDEX])]

DBCC is used to check the logical and physical consistency of a database, check memory usage, decrease the size of a database, check performance statistics, and so on. DBCC is the SQL Server "database consistency checker."

T.

0
 
LVL 15

Expert Comment

by:lyonst
ID: 2832739
Hi,

You could also look at the following article from Microsoft -

http://support.microsoft.com/support/kb/articles/Q166/7/58.ASP?LN=EN-US&SD=gn&FR=0

I'm not sure if it helps.

T.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question