I have an issue with Duplicacy being unable to backup open files. I am on windows, and for some reason backup jobs appear to be failing in some cases where files are open. I am using VSS, and would have assumed that should enable me to backup all files irrespective of if they are open or not. But whether I use -vss option or not the jobs are failing when some files are open.
e:\duplicacy-urgent-e>duplicacy -log backup -storage gui3 -stats -vss
2018-11-07 17:12:03.804 INFO STORAGE_SET Storage set to sftp://duplicacy@x.x.x.x//share/CACHEDEV1_DATA/duplicacy-backups/main
2018-11-07 17:12:08.584 INFO BACKUP_START Last backup at revision 10 found
2018-11-07 17:12:08.586 INFO VSS_CREATE Creating a shadow copy for e:\
2018-11-07 17:12:13.686 INFO VSS_DONE Shadow copy {8781DCD9-F839-4279-AFEB-461DB8CE6B3E} created
2018-11-07 17:12:13.689 INFO BACKUP_INDEXING Indexing e:\duplicacy-urgent-e
2018-11-07 17:12:13.690 INFO SNAPSHOT_FILTER Loaded 0 include/exclude pattern(s)
2018-11-07 17:12:16.686 WARN OPEN_FAILURE Failed to open file for reading: open e:\duplicacy-urgent-e/.duplicacy\shadow\\duplicacy-urgent-e/e-data/Interim/Spreadsheets/2018 - 2019/~$2019 - Q2.xlsx: The process cannot access the file because it is being used by another process.
2018-11-07 17:12:16.896 ERROR CHUNK_MAKER Failed to read 0 bytes: read e:\duplicacy-urgent-e/.duplicacy\shadow\\duplicacy-urgent-e/e
-data/user/Archive.pst: The process cannot access the file because another process has locked a portion of the file.
2018-11-07 17:12:16.999 INFO VSS_DELETE The shadow copy has been successfully deleted
Am I right in thinking duplicacy with VSS should be able to backup open files? If so is there anything wrong with my configuration? The only thing I can think of is :-
- I am backing up a director which just has symbolic links to other directories (mklink /J).
- back is for files on E: drive, rather than c: drive.
Out of curiosity I tried doing this with the old GUI, the old CLI (2.1.1), the new GUI and the new CLI (2.1.2) and all seem to give the same result.
All help in resolving this would be appreciated.