B
Bonzadog
SYSTEM:
Win 10 Pro (updated 8.3.2019
History:
The Robocopy batch I wrote was working well for years.
But due to another Problem MS Support re-installed my system but kept my files in place.
Since then robocopy fails on some directories with Error 5, sometimes Error 8 or 9.
I so I looking in the MS forum and corrected my scripts to include a /SEC and /SECFIX - which was recommended in this case.
robocopy "D:\Eigene Dateien" "%DEV%\Eigene Dateien" /log:"d:\EigenDatei.log" /V /s /mir /SEC /SECFIX /xd "D:\Exclude_Eigene_Dateien.txt"
however I am still getting the same Error 5 (in the above case). So the NTFS has still issure with permissions.
But if I use the XCOPY
xcopy "D:\Eigene Dateien" "%DEV%\Eigene Dateien" /f /h /z /D /E /Y /I /EXCLUDE:\Exclude_Eigene_Dateien.txt
This works with any problems. (apart from the known problem with long files names)
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
-------------------------------------------------------------------------------
Started : Samstag, 9. M„rz 2019 15:27:54
Source : D:\Eigene Dateien\
Dest : G:\PC1-BACKUP\Eigene Dateien\
Files : *.*
Exc Dirs : D:\Exclude_Eigene_Dateien.txt
Options : *.* /V /S /E /DCOPYA /COPYATS /SECFIX /PURGE /MIR /R:1000000 /W:30
------------------------------------------------------------------------------
38 D:\Eigene Dateien\
2019/03/09 15:27:55 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory G:\PC1-BACKUP\Eigene Dateien\
Access is denied.
------------------------------------------------------------------------------
Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0 0 0
Files : 0 0 0 0 0 0
Bytes : 0 0 0 0 0 0
Times : 0:00:00 0:00:00 0:00:00 0:00:00
Ended : Samstag, 9. M„rz 2019 15:27:55
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Can someone please assist?
Continue reading...
Win 10 Pro (updated 8.3.2019
History:
The Robocopy batch I wrote was working well for years.
But due to another Problem MS Support re-installed my system but kept my files in place.
Since then robocopy fails on some directories with Error 5, sometimes Error 8 or 9.
I so I looking in the MS forum and corrected my scripts to include a /SEC and /SECFIX - which was recommended in this case.
robocopy "D:\Eigene Dateien" "%DEV%\Eigene Dateien" /log:"d:\EigenDatei.log" /V /s /mir /SEC /SECFIX /xd "D:\Exclude_Eigene_Dateien.txt"
however I am still getting the same Error 5 (in the above case). So the NTFS has still issure with permissions.
But if I use the XCOPY
xcopy "D:\Eigene Dateien" "%DEV%\Eigene Dateien" /f /h /z /D /E /Y /I /EXCLUDE:\Exclude_Eigene_Dateien.txt
This works with any problems. (apart from the known problem with long files names)
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
-------------------------------------------------------------------------------
Started : Samstag, 9. M„rz 2019 15:27:54
Source : D:\Eigene Dateien\
Dest : G:\PC1-BACKUP\Eigene Dateien\
Files : *.*
Exc Dirs : D:\Exclude_Eigene_Dateien.txt
Options : *.* /V /S /E /DCOPYA /COPYATS /SECFIX /PURGE /MIR /R:1000000 /W:30
------------------------------------------------------------------------------
38 D:\Eigene Dateien\
2019/03/09 15:27:55 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory G:\PC1-BACKUP\Eigene Dateien\
Access is denied.
------------------------------------------------------------------------------
Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0 0 0
Files : 0 0 0 0 0 0
Bytes : 0 0 0 0 0 0
Times : 0:00:00 0:00:00 0:00:00 0:00:00
Ended : Samstag, 9. M„rz 2019 15:27:55
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Can someone please assist?
Continue reading...