Saturday, December 29, 2012 7:07 AM
I have Windows 7 Ultimate, x64 installed and am using Robocopy application to backup my primary data folder to an external drive. I am getting the following error while the backup is running and not sure what it is referring to. The folder and files are there in both the source and destination folders, so not sure why it suddenly started giving this error and stopped working. I have not made any changes to this files or folders in question, so not sure why I'm getting the error.
I can remove these files and the folders as the information in them is backed up on a DVD, but, I was told that I should delete the files and the folder only from the source and not the destination. But, I don't think the script I am using will work to purge the files and folders from the destination if they no longer exist in the source folder.
0 C:\TinkRbelle\B64 Doc backups\My Web Sites\2007-
2012/12/28 20:17:11 ERROR 23 (0x00000017) Scanning Destination Directory G:\Tink
Rbelle\B64 Doc backups\My Web Sites\2007-2009\Archive Versions\1\revision_d\images\Logos\
Data error (cyclic redundancy check).
Waiting 30 seconds... Retrying...
Robocopy script used for backup to external drive:
robocopy "C:\TinkRbelle" "G:\TinkRbelle" /MIR /V /R:3 /W:30
This script has worked very well thus far, but, I would like to be able to purge files and folders that are no longer in the source files so that the files and folders in the destination location are exactly like the files and folders in the source location so that the data is kept clean and up to date. But, I am not sure how to write that kind of script.
I would truly appreciate any suggestions in how I should handle this error, and what it means so that if it happens again I know what to look for. And how to write a script that will copy all the files from the source location and purge any files from the destination that are no longer in the source files.
Saturday, December 29, 2012 7:22 AMThis forum focuses on scripting (=programming) questions. Your problem relates to a flawed disk which is why you get a CRC (Cyclic Redundancy Check) error. Best to check in a general Windows forum how to deal with this problem (or replace the disk straight away).
- Proposed As Answer by jrvMicrosoft Community Contributor Saturday, December 29, 2012 8:07 AM
- Marked As Answer by Bill_StewartMicrosoft Community Contributor, Moderator Saturday, December 29, 2012 9:48 PM