64098: Acronis Cyber Protect Cloud, Acronis Cyber Backup: backup to a network share or a removable drive fails with "The end of the file has been reached"

Symptoms

You are saving backups to a removable drive attached to the protected machine or to a network share that resides on a removable device.

Backup fails with these errors:

Error code: 13
Module: 161
LineInfo: 0xC34A6F9AD1E87030
Fields: {"$line":"44","$file":"e:\\627\\enterprise\\mms\\managers\\archive\\impl\\location_cache.cpp","$module":"isk_bundle_vsa64_15300","$func":"`anonymous-namespace'::ProcessLocationAbsenceError"}
Message: Location URI 'file:G:/' is invalid.
------------------------
Error code: 46
Module: 64
LineInfo: 0x3F26773FAB7BDA28
Fields: {"$line":"545","$module":"isk_bundle_vsa64_15300","user":"","$file":"e:\\627\\enterprise\\backup\\places2\\impl\\dir_place.cpp","path":"G:/","$func":"Places::DirPlace::MakeDir"}
Message: Failed to open the backup location.
------------------------
Error code: 2
Module: 4
LineInfo: 0xC1C09B38BAFA76A0
Fields: {"$line":"484","$file":"e:\\627\\core\\file\\windows\\win32_dir.cpp","$module":"isk_bundle_vsa64_15300","$func":"win32_dir::letter_iterator::Find"}
Message: The end of the file has been reached.

OR

| error 0x9a0005: GetFileInfo call of FileManager failed.
| line: 0x9a79f20828bcc7f
| file: e:\427\enterprise\mms\managers\location\impl\manager.cpp:1295
| function: LocationManagement::LocationManagerImpl::FillLocationInfoByFileManager
| $module: disk_bundle_vsa64_13400
|
| error 0x920107: Failed to retrieve information about file 'g:\'.
| line: 0x4d7f75fcde07d669
| file: e:\427\enterprise\file_manager\file_manager_impl.cpp:335
| function: FileManagement::FileManagerImpl::GetFileInfo
| path: f:\
| $module: mms_vsa64_13400
|
| error 0x40002: The end of the file has been reached.
| line: 0xc1c09b38bafa789e
| file: e:\427\core\file\windows\win32_dir.cpp:484
| function: win32_dir::letter_iterator::Find
| $module: disk_bundle_vsa64_13400

Cause

The drive has been detached and is no longer available.

Solution

Re-attach the drive used as backup destination and re-attempt backup.

More information

Error message will be improved in future releases.