Solved

SQL Backup : Error 3201 (dbswritecheck)

Posted on 2000-05-17
10
716 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 142

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
 

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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
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.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now