Solved

SQL Backup : Error 3201 (dbswritecheck)

Posted on 2000-05-17
10
723 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSRS 2013 - Overlapping reports 2 22
VBScript Write Column Headers 3 37
Sql Server group by 10 27
How to use three values with DATEDIFF 3 24
Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

772 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