Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

transaction log backup failing

Status
Not open for further replies.

htoth

MIS
Jan 25, 2001
22
US
I am trying to backup databases and transaction logs through sql 2000. I am very new at sql and know very little about the whole thing. when I check the log in SQL Server enterprise/the sql server/management/sql server logs, it seems to back up the databases ok most of the time but never the transaction logs for any of the databases. Here are the error messages:

"BACKUP failed to complete the command BACKUP LOG [model] TO TAPE = N'\\.\Tape0' WITH NOINIT , NOUNLOAD , NOSKIP , STATS = 10, NOFORMAT "

"BackupTapeFile::OpenMedia: Backup device '\\.\Tape0' failed to open. Operating system error = 32(The process cannot access the file because it is being used by another process.)."

I have another sql 2000 server, same hardware (both have internal tape drives), that backs everythign up without a problem. I have spoken to the people who have databases on the original server and they have assured me that no processes run at 4:00am, which is when the backup of the logs is scheduled.

Any help would be greatly appreciated!

Heather Toth
 
I don't have an answer for your question. I do have a recommendation. If you have sufficient disk space, even on another server, backup your databases to disk. Then backup the database backup files to tape. This seems to be much less error prone.

If you are interested, check thread183-244348 for some good links on backup/restore and disaster planning. Terry L. Broadbent - DBA
Computing Links:
faq183-874 contains "Suggestions for Getting Quick and Appropriate Answers" to your questions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top