Q

Error backing up SQL Server 2000 database

Are you having trouble backing up your SQL Server 2000 database? Backup and Recovery expert Greg Robidoux explains how to rectify the situation.

I get the following error when I try to back up the SQL Server 2000 database that has about 40 GB in the Windows 2000 operating system:

spid52 BackupMedium::ReportIoError: write failure on backup device 'D:.bck'. Operating system error 33(The process...

cannot access the file because another process has locked a portion of the file.). Spid52 Internal I/O request 0x071BCB00: Op: Write, pBuffer: 0x07430000, Size: 983040, Position: 34304170496, UMS: Internal: 0x103, InternalHigh: 0x0, Offset: 0xFCB01A00, OffsetHigh: 0x7, m_buf: 0x07430000, m_len: 983040, m_actualBytes: 0, m_errcode: 33, BackupFile: D:.bck BACKUP failed to complete the command BACKUP DATABASE [EISWEBNEW] TO DISK = N'D:.bck' WITH INIT , NOUNLOAD , NAME = N'EISWEBNEW backup', NOSKIP , STATS = 10, NOFORMAT spid52 Starting up database

From the error it looks like the file name was not passed correctly to the BACKUP command 'D:.bck'. Make sure that when the backup is being submitted, all of the correct parameters are being passed.

I would issue a simple backup, such as the following, to test the backup process and to make sure there is not another problem.

BACKUP DATABASE EISWEBNEW TO DISK = 'D:EISWEBNEW_FULL.bck'


Do you have comments on this Ask the Expert Q&A? Let us know.
This was last published in August 2005

Dig Deeper on SQL Server Backup and Recovery

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchBusinessAnalytics

SearchDataCenter

SearchDataManagement

SearchAWS

SearchOracle

SearchContentManagement

SearchWindowsServer

Close