I have a simple one-way mirror configured to copy the entire contents of one drive to a backup location over the network. Compare mode is "File time and size", Synchronize mode is "Mirror ->>".
Usually it works but occasionally I get the following logged error on one or more files:
Error: Cannot move file
'\\TARGET-PC\Backup\FullPath\SOMEFILE.DLL.ffs_tmp' to
'\\TARGET-PC\Backup\FullPath\SOMEFILE.DLL'.
Error Code 183: Cannot create a file when that file already exists. (MoveFileEx)
After this happens, SOMEFILE.DLL is missing from the backup copy on \\TARGET-PC.
In Global Settings, I do have the 'Fail-safe file copy' checked which says it's supposed to "guarantee a consistent state even in case of fatal error". But apparently I'm not getting a consistent state since files are left missing from the backup when this occurs.
???
Error Code 183: Cannot create a file when that file already exists. (MoveFileEx)
- Posts: 3
- Joined: 2 Jul 2013
- Posts: 1
- Joined: 15 Sep 2005
Hello,
I got a similar issue. Maybe the issue is related to
[404, Invalid URL: https://sourceforge.net/p/freefilesync/bugs/132/?page=0]
viewtopic.php?t=1038
Before receiving the Error Code 183, I'm getting this error:
> Cannot enumerate directory '\\Datenserver\ISCSI\Sync\FreeFileSync\pool\2011'.
>
> "Error Code 64: The specified network name is no longer available. (readDir)"
or
> Cannot open directory '\\Datenserver\ISCSI\Sync\FreeFileSync\pool\2011\S02'.
>
> Error Code 64: The specified network name is no longer available. (FindFirstFile)
or
> Cannot open directory '\\Datenserver\ISCSI\Sync\FreeFileSync\PDF'.
>
> Error Code 64: The specified network name is no longer available. (openDir)
But I can dir those directories
When clicking "ignore" on the previous error message, I get also messages like
> "Windows was unable to save all the data for the file \Sync\FreeFileSync\pool\sync.ffs_lock. The data has been lost. This error may caused by a failure of your computer hardware or network connection. please try to save this file elsewhere."
A short question: Will "ignore further errors" only ignore further error 64, or all further errors?
When starting the synchronize job I get
> Cannot copy file
> 'D:\Auslagerung\.DS_Store' to
> '\\Datenserver\ISCSI\Sync\FreeFileSync\Auslagerung\.DS_Store'.
> Error Code 80: The file exists. (CopyFileEx)
if i switched 'Fail-safe file copy' off.
I get
> Cannot move file
> '\\Datenserver\ISCSI\Sync\FreeFileSync\Auslagerung\.DS_Store.ffs_tmp' to
> '\\Datenserver\ISCSI\Sync\FreeFileSync\Auslagerung\.DS_Store'.
>
> Error Code 183: Cannot create a file when that file already exists. (MoveFileEx)
if I turn 'Fail-safe file copy' on in preferences.
This is the setting file:
I got a similar issue. Maybe the issue is related to
[404, Invalid URL: https://sourceforge.net/p/freefilesync/bugs/132/?page=0]
viewtopic.php?t=1038
Before receiving the Error Code 183, I'm getting this error:
> Cannot enumerate directory '\\Datenserver\ISCSI\Sync\FreeFileSync\pool\2011'.
>
> "Error Code 64: The specified network name is no longer available. (readDir)"
or
> Cannot open directory '\\Datenserver\ISCSI\Sync\FreeFileSync\pool\2011\S02'.
>
> Error Code 64: The specified network name is no longer available. (FindFirstFile)
or
> Cannot open directory '\\Datenserver\ISCSI\Sync\FreeFileSync\PDF'.
>
> Error Code 64: The specified network name is no longer available. (openDir)
But I can dir those directories
dir '\\Datenserver\ISCSI\Sync\FreeFileSync\pool\2011'
[...]
507 File(s) 947,711,618 bytes
2 Dir(s) 7,405,903,110,144 bytes free
> "Windows was unable to save all the data for the file \Sync\FreeFileSync\pool\sync.ffs_lock. The data has been lost. This error may caused by a failure of your computer hardware or network connection. please try to save this file elsewhere."
A short question: Will "ignore further errors" only ignore further error 64, or all further errors?
When starting the synchronize job I get
> Cannot copy file
> 'D:\Auslagerung\.DS_Store' to
> '\\Datenserver\ISCSI\Sync\FreeFileSync\Auslagerung\.DS_Store'.
> Error Code 80: The file exists. (CopyFileEx)
if i switched 'Fail-safe file copy' off.
I get
> Cannot move file
> '\\Datenserver\ISCSI\Sync\FreeFileSync\Auslagerung\.DS_Store.ffs_tmp' to
> '\\Datenserver\ISCSI\Sync\FreeFileSync\Auslagerung\.DS_Store'.
>
> Error Code 183: Cannot create a file when that file already exists. (MoveFileEx)
if I turn 'Fail-safe file copy' on in preferences.
This is the setting file:
<?xml version="1.0" encoding="UTF-8"?>
<FreeFileSync XmlFormat="1" XmlType="GUI">
<MainConfig>
<Comparison>
<Variant>ByTimeAndSize</Variant>
<HandleSymlinks>Ignore</HandleSymlinks>
</Comparison>
<SyncConfig>
<Variant>Mirror</Variant>
<CustomDirections>
<LeftOnly>right</LeftOnly>
<RightOnly>left</RightOnly>
<LeftNewer>right</LeftNewer>
<RightNewer>left</RightNewer>
<Different>none</Different>
<Conflict>none</Conflict>
</CustomDirections>
<DeletionPolicy>Permanent</DeletionPolicy>
<VersioningFolder Style="Replace"/>
</SyncConfig>
<GlobalFilter>
<Include>
<Item>*</Item>
</Include>
<Exclude>
<Item>\System Volume Information\</Item>
<Item>\$Recycle.Bin\</Item>
<Item>\RECYCLER\</Item>
<Item>\RECYCLED\</Item>
<Item>*\desktop.ini</Item>
<Item>*\thumbs.db</Item>
</Exclude>
<TimeSpan Type="Inactive">0</TimeSpan>
<SizeMin Unit="Inactive">0</SizeMin>
<SizeMax Unit="Inactive">0</SizeMax>
</GlobalFilter>
<FolderPairs>
<Pair>
<Left>D:\Auslagerung</Left>
<Right>\\Datenserver\ISCSI\Sync\FreeFileSync\Auslagerung</Right>
<CompareConfig>
<Variant>ByTimeAndSize</Variant>
<HandleSymlinks>UseDirectly</HandleSymlinks>
</CompareConfig>
<SyncConfig>
<Variant>Mirror</Variant>
<CustomDirections>
<LeftOnly>right</LeftOnly>
<RightOnly>left</RightOnly>
<LeftNewer>right</LeftNewer>
<RightNewer>left</RightNewer>
<Different>none</Different>
<Conflict>none</Conflict>
</CustomDirections>
<DeletionPolicy>Permanent</DeletionPolicy>
<VersioningFolder Style="Replace"/>
</SyncConfig>
</Pair>
<Pair>
<Left>D:\pool</Left>
<Right>\\Datenserver\ISCSI\Sync\FreeFileSync\pool</Right>
<CompareConfig>
<Variant>ByTimeAndSize</Variant>
<HandleSymlinks>UseDirectly</HandleSymlinks>
</CompareConfig>
<SyncConfig>
<Variant>Mirror</Variant>
<CustomDirections>
<LeftOnly>right</LeftOnly>
<RightOnly>left</RightOnly>
<LeftNewer>right</LeftNewer>
<RightNewer>left</RightNewer>
<Different>none</Different>
<Conflict>none</Conflict>
</CustomDirections>
<DeletionPolicy>Permanent</DeletionPolicy>
<VersioningFolder Style="Replace"/>
</SyncConfig>
</Pair>
<Pair>
<Left>D:\Backup</Left>
<Right>\\Datenserver\ISCSI\Sync\FreeFileSync\Backup</Right>
<CompareConfig>
<Variant>ByTimeAndSize</Variant>
<HandleSymlinks>UseDirectly</HandleSymlinks>
</CompareConfig>
<SyncConfig>
<Variant>Mirror</Variant>
<CustomDirections>
<LeftOnly>right</LeftOnly>
<RightOnly>left</RightOnly>
<LeftNewer>right</LeftNewer>
<RightNewer>left</RightNewer>
<Different>none</Different>
<Conflict>none</Conflict>
</CustomDirections>
<DeletionPolicy>Permanent</DeletionPolicy>
<VersioningFolder Style="Replace"/>
</SyncConfig>
</Pair>
</FolderPairs>
<OnCompletion>Close progress dialog</OnCompletion>
</MainConfig>
<GuiConfig>
<HideExcluded>false</HideExcluded>
<HandleError>Popup</HandleError>
<MiddleGridView>Action</MiddleGridView>
</GuiConfig>
</FreeFileSync>