Backup Error - File in Use
From: bd2103 (bd2103_at_discussions.microsoft.com)
Date: 12/17/04
- Next message: nivek: "Insert into different server"
- Previous message: David Gugick: "Re: URGENT deadlock question"
- Next in thread: GYK: "RE: Backup Error - File in Use"
- Reply: GYK: "RE: Backup Error - File in Use"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 17 Dec 2004 14:05:02 -0800
I am running SQL Server on a Win 2003 Server box. Large Backups are scheduled
which are about 10gigs in size. I have a batch file that executes after the
backup is completed, which moves the 10 gb file to a different drive on the
same box. On random occassions, the backups fail with the following message:
"Unable to delete preexisting D:\Path\db.dat: The process cannot access the
file because it is being used by another process."
I am not sure what kind of locks could be set on the backup dat file to
prevent it from being deleted before the next backup. The only other program
accessing the backup file is the batch file I am running, which performs the
copy operation after each backup.
Any ideas on this will help... Thanks!
- Next message: nivek: "Insert into different server"
- Previous message: David Gugick: "Re: URGENT deadlock question"
- Next in thread: GYK: "RE: Backup Error - File in Use"
- Reply: GYK: "RE: Backup Error - File in Use"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|