none
PROBLEM! SyncToyCmd Fails to Copy the Whole File RRS feed

  • Question

  • Situation:

     1. Files have been partially copied but left in the destination folder as if they are complete.

     2. The files have been given their final name.  They no longer named as TMP files.

     3. The files are no longer listed in SyncToy Preview.  So it appears SyncToy thinks they completed normally.

     4. There are warnings in the SyncToyLog.Log file but they are too general to clarify the problem.

     5. There is plenty of space on the destination drive to hold the files being copied.

     6. Earlier, this same folder pair was used successfully with SyncToyCmd and SyncToy.

     

    Request:

       Does anyone know why this is happening? 

     

    Directory Listings:


    Source Folder AKA Left Folder

    F:\pbmsys>dir pbmsys_tlog_200810*.trn

     Directory of F:\pbmsys

    10/01/2008  01:31a          52,794,880    pbmsys_tlog_200810010130.TRN
    10/02/2008  01:30a          27,496,960    pbmsys_tlog_200810020130.TRN
    10/03/2008  03:20a      6,144,626,176    pbmsys_tlog_200810030131.TRN
    10/04/2008  04:11a      9,143,683,584    pbmsys_tlog_200810040130.TRN
    10/05/2008  02:03a            8,425,984    pbmsys_tlog_200810050130.TRN
    10/06/2008  03:01a      5,351,319,040    pbmsys_tlog_200810060130.TRN        NOT COPIED
                   6 File(s) 20,728,346,624 bytes


    Destination Folder AKA Right Folder

    E:\SqlSvr01 Backup\pbmsys>dir pbmsys_tlog_200810*.trn

     Directory of E:\SqlSvr01 Backup\pbmsys

    10/01/2008  01:31 AM        52,794,880    pbmsys_tlog_200810010130.TRN        OK
    10/02/2008  01:30 AM        27,496,960    pbmsys_tlog_200810020130.TRN        OK
    10/03/2008  03:20 AM      650,641,408    pbmsys_tlog_200810030131.TRN        TOO SMALL
    10/04/2008  04:11 AM    2,864,709,632    pbmsys_tlog_200810040130.TRN       TOO SMALL
    10/05/2008  02:03 AM          8,425,984    pbmsys_tlog_200810050130.TRN       OK
                   5 File(s)  3,604,068,864 bytes

     

    SyncToyLog Entries:

    SYNC: 10/06/2008 03:00:25:181: -------------------------------------------------------------------------
    SYNC: 10/06/2008 03:00:25:244: Starting SyncToyCmd, version 2.0.100.0, built 8/12/2008 2:07:12 PM.
    SYNC: 10/06/2008 03:00:25:791: Started scanning directory : \\sqlserver01\SQL_Backup\
    SYNC: 10/06/2008 03:00:25:806: Started scanning directory : E:\SqlSvr01 Backup\
    SYNC: 10/06/2008 03:00:30:353: Stopped scanning directory : E:\SqlSvr01 Backup\
    SYNC: 10/06/2008 03:00:31:838: Stopped scanning directory : \\sqlserver01\SQL_Backup\
    SYNC: 10/06/2008 03:00:32:416: Preview of SQL01 .TRN Backup (\\sqlserver01\SQL_Backup\, E:\SqlSvr01 Backup\) in time 00:00:06:562.
    SyncToy action was 'Contribute'
    Found 8 actions to perform.
    Found 440 files that did not require action.
    Analyzed 67.0 files per second.
    Avoided copying 64,562,451,968 bytes in 440 files.
    Saved approximately 11:52:04:00 by not copying any files.

     

    SYNC: 10/06/2008 03:32:14:631: SyncToy run of SQL01 .TRN Backup (\\sqlserver01\SQL_Backup\, E:\SqlSvr01 Backup\) completed at 10/6/2008 3:32:14 AM.
    SyncToy action was 'Contribute'.
    SyncToy options were:
     Active for run all
     Files included: *.TRN
     Files excluded:
     Do not check file contents
     Include read-only files
     Include hidden files
     Include system files
     Backup older files (send to Recycle Bin)
     Some subfolders included
    SyncToy run took 00:31:42:215.
    Copied 293,549,568 bytes in 8 files in 00:31:42:215.
    Bytes per second 154,319.8, files per second 0.0.
    Avoided copying 64,562,451,968 bytes in 440 files that did not require action.
    Saved approximately 20:12:47:790 by not copying all files.
    Warning: 1 failures occured.                                                             <---SUBTLE ERROR MESSAGE
    You can retry by selecting "Run" again or select "Preview" to see
    the operations that remain to be performed.

    Monday, October 6, 2008 5:21 PM

All replies

  •  

    Summary:

       SyncToyCmd 2.0 does not completely copy a file but it acts like the file was copied successfully.

     

    Details: 

       File pbmsys_db_200810190200.zip is a DB backup containing 4,307,240 KB.  The copy of it only contains 1,514,496 KB.  Of course the copy cannot be unzipped.  The copy is corrupt. 

     

       This is different than failing to copy the file.  Normally that would leave some TMP file(s) sitting around and would allow the next run of SyncToy or SyncToyCmd to start over and eventually copy the file.  With this problem, SyncToyCmd gives the finished name to the file (removes/renames the TMP file) and the file no longer shows up in SyncToy Preview.

     

       This happened before and I thought it might be a one time event.  But now that it has reoccurred, this problem seems like the kiss of death for SyncToy.  Why use a backup utility that corrupts files?  Especially one that gives almost every indication of having worked. 

     

       Any suggestions as to why this might be happening?  Any questions or details that might help solve this?

     

     

     

    Tuesday, October 21, 2008 7:42 PM
  •    I looked up the SyncToy log entries for the file that failed.  Oddly enough, in the log, it looks like the copy worked.  So it's even more puzzling that the final file was truncated.

     

       Here's the pertiant entry.

     

     

    SYNC: 10/20/2008 20:55:37:272: -------------------------------------------------------------------------
    SYNC: 10/20/2008 20:55:37:272: Starting SyncToyCmd, version 2.0.100.0, built 8/12/2008 2:07:12 PM.
    SYNC: 10/20/2008 20:55:37:694: Started scanning directory : \\sqlserver01\SQL_Backup\
    SYNC: 10/20/2008 20:55:37:694: Started scanning directory : E:\SqlSvr01 Backup\
    SYNC: 10/20/2008 20:55:44:256: Stopped scanning directory : E:\SqlSvr01 Backup\
    SYNC: 10/20/2008 20:55:44:788: Stopped scanning directory : \\sqlserver01\SQL_Backup\
    SYNC: 10/20/2008 20:55:45:038: Preview of SQL01 .ZIP Backup (\\sqlserver01\SQL_Backup\, E:\SqlSvr01 Backup\) in time 00:00:07:328.
    SyncToy action was 'Contribute'
    Found 1 actions to perform.   <---TRUE
    Found 161 files that did not require action.
    Analyzed 22.0 files per second.
    Avoided copying 119,195,061,232 bytes in 161 files.
    Saved approximately 18:13:10:00 by not copying any files.

    SYNC: 10/21/2008 01:32:27:777: SyncToy run of SQL01 .ZIP Backup (\\sqlserver01\SQL_Backup\, E:\SqlSvr01 Backup\) completed at 10/21/2008 1:32:27 AM.
    SyncToy action was 'Contribute'.
    SyncToy options were:
     Active for run all
     Files included: *.ZIP
     Files excluded:
     Do not check file contents
     Include read-only files
     Include hidden files
     Include system files
     Backup older files (send to Recycle Bin)
     Some subfolders included
    SyncToy run took 04:36:42:739.
    Copied 4,410,613,639 bytes in 1 files in 04:36:42:739.  <---APPEARS TO HAVE WORKED
    Bytes per second 265,655.8, files per second 0.0.
    Avoided copying 119,195,061,232 bytes in 161 files that did not require action.
    Saved approximately 04:38:02:352 by not copying all files.

    Tuesday, October 21, 2008 7:48 PM