SECURE ONLINE DATA BACKUP

Rhinoback Knowledge Base
Home : The process cannot access the file because another process has locked a portion of the file
Q10095 - ERRMSG: The process cannot access the file because another process has locked a portion of the file

You may recieved this error message: "The process cannot access the file because another process has locked a portion of the file".

When backing up “C:\xxx\yyy\zzz.txt” because another application has held a read-exclusive lock on “C:\xxx\yyy\zzz.txt”. The backup agent, therefore, is unable to open the file to read its content.

RESOLUTION

Please try the followings to resolve this problem:

  1. Enable the Volume Shadow Copy option for the corresponding backup set if you are on Windows 2003 or XP.
  2. If you are on an older version for Windows, you may need to obtain a generic “Open File Manager” in order to backup the locked files.
  3.  If the locked file is not important (e.g. C:\pagefile.sys), simply exclude the locked file from your backup source. By doing so, this message will not appear again. 
  4. If the locked file is a database file held open by one of our supported applications (e.g. Microsoft SQL Server, Microsoft Exchange Server, Oracle, Lotus Domino/Notes, MySQL), simply use the corresponding add-on module provided to backup the database. This way, you can backup the database you want (using the application specific APIs) without accessing the database file directly.
     
  5. If the locked file is a file held open by some other third party applications, you can use the [Pre/Post Command Line Tool] to shutdown/restart the application that is locking the file before/after a backup job to make sure that no locks will be placed on files that you need to backup.
Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
try this... CopySharp is a GUI tool for copying open/inprocess/lock files. It is inspired by robocopy and vshadow. CopySharp V1.0 requires .Net Framework 3.5 and VC++ 2005 Runtime. CopySharp V1.0 requires Microsoft® Windows® Server 2003, Microsoft® Windows® XP. For Example: 1. Try to backup/copy your .pst file(s), while your outlook is open. 2. Try to backup/copy your .mdf/.ldf (SQL Server) files, while your SQL Server is running. Locate it at: http://www.amitchaudhary.com/ Approved: 5/15/2008
Created on 5/20/2007.
Last Modified on 6/18/2007.
Last Modified by support.
Skill Level: Intermediate.
Article has been viewed 34935 times.
Rated 3 out of 10 based on 15 votes.
Print Article
Email Article