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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Log shipping not releasing files

Status
Not open for further replies.
Jun 27, 2001
837
0
0
US
I run log shipping to 2 other servers, one in close vicinity to the primary, and the other back to our HQ across a T1 line. Fairly regularly we get the error below when restoring the log files
18204 :
BackupDiskFile::OpenMedia: Backup device 'F:\sqltrn\RX_tlog_200601161000.TRN' failed to open. Operating system error = 32(The process cannot access the file because it is being used by another process.).

This will fail several times on the scheduled intervals until we manually run the restore job. Anyone else had this problem before?
 
Looks like to me while one process is restoring the database it holds lock on the file and at the same time other process is trying to access the file. How big are the .TRN files???

Cyno
 
Fixed it by setting the latency to 3 minutes after file copied. It is more of an issue of the OS of the primary server not releasing the file after copy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top