The process cannot access the file because another process has locked a portion of the file

Error

[Error][Updated File] File=”\\Network_Path\Directory\File” Error=”The process cannot access the file because another process has locked a portion of the file.”

(eg. ~$ bank transactions 2013.xlsx)

Cause

The message suggests that the corresponding file is locked by other application when the backup job is performed.

The example file given here (~$ bank transactions 2013.xlsx) is a temporary excel which is used by Excel for autorecovery.

Resolution

In this case, although the CyberSecure Advanced user may have Volume Shadow Copy enabled. However, since the file in use resides on a network area, a Shadow Copy of the file cannot be created.

To resolve the issue, please close the application which is accessing the file before performing the backup or allow the backup to run on a locally-attached disk to enable Windows VSS (Volume Snapshot Services).