Open/locked files can only be copied by SyncBackSE/Pro when the following criteria are met:
- SyncBackFree does not support copying of open/locked files. It is only available in SyncBackSE and SyncBackPro.
- The open/locked file is on a local volume on an internal or external drive that is formatted with NTFS or ReFS, or it is on a local volume on an internal drive that is formatted with FAT32 and you also have a local volume on an internal drive that is formatted with NTFS or ReFS. You can copy locked files to any other drive (external or internal), network drive, Zip file, FTP, etc. The restriction (which is a restriction in Windows itself) is on where the locked file is, not where it is copied to. If the file is on a remote Windows drive then using SyncBack Touch may be the solution (see below).
- You are running SyncBackSE/Pro elevated with a user who is a member of the Backup Operators group (e.g. an Administrator). Using SyncBack Touch you can copy open/locked files without this requirement (see below).
"Local" means a volume on a drive that is physically connected to the computer, i.e. open/locked files cannot be copied from drives over the network.
"Internal" means a drive that is connected via IDE, SCSI, or SATA. Drives connected via USB, Firewire, eSATA, etc. are considered external. Basically, if the drive is inside your computer's case, then it is considered internal.
Check the Non-critical Errors in the log file to see if you've received any errors related to open file copying. For more information on those errors please read this article.
Possible reasons why an open/locked file cannot be copied:
- The Volume Shadow Copy Service (VSS) is not installed or working correctly. VSS is a part of Windows and not SyncBackSE/Pro. It is used to copy open/locked files. If there is a problem with VSS then the log file will contain the error messages in the log file (see the Non-critical Errors section) or other error message related to open files.
- Only one profile can copy open/locked files from a particular volume at any one time. If two profiles are running at the same time then only one of them will be able to copy the open/locked files from that volume. If you are running profiles in a group then deselect the option to run them in parallel.
- The open file is on a "virtual" volume, e.g. you are using a 3rd party program like DriveCrypt. Open files cannot be copied from those drives. This can also be the case where the profile 'points to' (is configured to include) virtual paths (e.g., symbolic links provided by Windows for use by legacy programs) to the real path\location of the file. VSS can not be used to copy open/locked files via virtual paths, but can generally copy the file via the real storage path.
- You cannot copy locked files when using the All Volumes Path (\\?\).
- Whether open/locked files can be copied from a virtual drive-letter created with the SUBST command (providing the underlying physical drive which the SUBST command points to fulfils the other usual criteria) may depend on your version of Windows. It appears this is not possible in Server 2003, but may be possible in Vista and later versions.
- Some software (e.g. Acronis True Image 9) can also cause VSS to stop working. There have also been reports of Symantec Antivirus Corporate Edition and Microsoft Visio causing problems with VSS.
- In some cases when a profile has just been imported, or SyncBackSE/Pro has just been installed and run from the installation program, it may fail to copy open/locked files. Reboot and try again.
- Make sure you've installed all the latest Windows updates & patches. Microsoft regularly releases hotfixes and updates.
- The file(s) or partition may be corrupted. Run chkdsk/scandisk to check for errors.
- Make sure you are using the latest version of SyncBackSE/Pro.
- If the log file contains the error "Timed-out waiting for access to VSS DLL" then see this page for details.
SyncBack Touch
SyncBack Touch is a cross-platform file server. It lets SyncBackPro and SyncBackSE copy files to and from another device, e.g. Windows, macOS, Linux or Android device. SyncBackFree cannot use SyncBack Touch.
Starting with V10, SyncBack Touch is completely free to use with SyncBackPro and SyncBackSE.
Simply install SyncBack Touch on the device you want to the access the files on and then create a profile in SyncBackPro/SE to use that device.
On Windows, SyncBack Touch runs as a Windows service in the background. It can copy open/locked files and also has access to all the files the Windows internal system account can access. This means the user running SyncBackPro/SE doesn't need to be an Administrator to copy open/locked files, nor do they need to be one to access all the files.
Scheduler Monitor
Starting from version 12, SyncBackPro and SyncBackSE can copy open or locked files using the Scheduler Monitor Service. The Scheduler Monitor Service is a Windows service that runs with the highest privileges, allowing non-elevated instances of SyncBackPro/SE to access locked files via VSS. As a result, users can back up in-use files without requiring administrative rights, provided the Scheduler Monitor Service is installed and running in the background.
Note that SyncBack must be installed by a Windows Administrator for All Users so that the Scheduler Monitor Service is installed. Once the Scheduler Monitor Service is installed, users running SyncBack without elevated privileges can still copy open or locked files.
Advanced VSS Options
In version 12 and later, users can select a specific VSS provider to enable more reliable copying of locked or in-use files. Choosing an appropriate provider can help ensure that files are in a consistent and ready state for copying, even while they are actively being used.
The Volume Shadow Copy Service (VSS) operates through providers, software, or hardware components that create consistent snapshots of active volumes. This allows applications such as SyncBack to access and copy locked files safely without interruption.
Windows includes a default Microsoft Software VSS Provider, which is suitable for most environments. However, certain storage solutions, such as enterprise RAID systems or SAN arrays, may install specialized providers that offer enhanced performance or storage-specific capabilities. For example, a SQL database VSS provider ensures that database files are captured in a consistent and complete state during the copy process.
To select a specific provider in SyncBack, navigate to: Modify Profile > Expert > Copy/Delete > VSS Settings.