63888: Acronis Backup: Activity fails with "The process cannot access the file because it is being used by another process"

use Google Translate

Symptoms

Activity fails with the following error:

The process cannot access the file because it is being used by another process

Cause

Acronis Agent cannot access a file which is needed for the performed operation as it is locked by another process.

Troubleshooting

Troubleshooting steps depend on the file that is being locked. To detect which file causes the error, open the activity details in console and look at the string after "path":

Error code: 23
Module: 4
LineInfo: 0xF35F747B3B21F916
Fields: {"path":"\\\\?\\C:\\HyperV\\AcronisBackup.avhdx","$module":"hv_srv_vsa64_14330","function":"OpenFileW"}
Message: Failed to lock the file.

Scenario 1
The inaccessible file is a snapshot of Hyper-V virtual machine that should be backed up. e.g :
"path":"\\\\?\\C:HyperV\\AcronisBackup.avhdx"

 

Scenario 2
The affected file is a backup archive in .tib or .tibx format.

Example of log:

| error 0x40017: Failed to lock the file.
| line: 0xf35f747b3b21f9ef
| file: e:\381\core\file\windows\winnt_dir.cpp:742
| function: winnt_dir::Remove
| function: DeleteFileW
| path: \\?\UNC\192.168.1.1\backup\Acronis\Location\Acronis-2617B806-C0DA-64C6-B587-31EA53B79A3C-CE62E4AE-7F5A-4460-BC1B-26A9AAF66253A_2019_11_29_07_31_32_591D7.TIB
| $module: disk_bundle_vsa64_12960
|
| error 0xfff0: The process cannot access the file because it is being used by another process
| line: 0xbd28fdbd64edb8f1
| file: e:\381\core\common\error.cpp:307
| function: Common::Error::AddWindowsError
| code: 0x80070020
| $module: disk_bundle_vsa64_12960