Hi All,
I have created a small script for sync mirror to NAS appliances mapped on the N-drive (main) to the R-drive (backup) via the task scheduler at night.
When I run the script it runs without error and says it synced some files. (see log file, in this case 2)
If I sync it by starting BC manually it sync a lot more files ( > 100 !).
I would like to see in the log file which files are going to be synced, delete, updated but cannot get that function working. (not in the code anymore at this moment)
What am I missing. Please advise.
Logfile:
11/7/2018 8:41:00 AM >> # Turn logging on.
11/7/2018 8:41:00 AM >> log normal append:"C:\log\BSO_NAS_01_03_SYNC_LOG 2018-11-07.log"
11/7/2018 8:41:00 AM >>
11/7/2018 8:41:00 AM >> # Load the base folders.
11/7/2018 8:41:00 AM >> load "N:" "R:"
11/7/2018 8:41:01 AM Load comparison: N:\ <-> R:\
11/7/2018 8:41:01 AM >> filter ".\snapshot"
11/7/2018 8:41:01 AM >>
11/7/2018 8:41:01 AM >> # Copy different files left to right, delete orphans on right.
11/7/2018 8:41:01 AM >> sync create-empty mirror:left->right
11/7/2018 11:50:29 AM Successfully synchronized 2 items. Completed in 3 hours, 9 minutes.
11/7/2018 11:50:29 AM Script completed in 3 hours, 9 minutes
I have created a small script for sync mirror to NAS appliances mapped on the N-drive (main) to the R-drive (backup) via the task scheduler at night.
When I run the script it runs without error and says it synced some files. (see log file, in this case 2)
If I sync it by starting BC manually it sync a lot more files ( > 100 !).
I would like to see in the log file which files are going to be synced, delete, updated but cannot get that function working. (not in the code anymore at this moment)
What am I missing. Please advise.
Code:
# Turn logging on. log normal append:"C:\log\BSO_NAS_01_03_SYNC_LOG %date%.log" # Load the base folders. load "N:\" "R:\" filter ".\snapshot" # Copy different files left to right, delete orphans on right. sync create-empty mirror:left->right
11/7/2018 8:41:00 AM >> # Turn logging on.
11/7/2018 8:41:00 AM >> log normal append:"C:\log\BSO_NAS_01_03_SYNC_LOG 2018-11-07.log"
11/7/2018 8:41:00 AM >>
11/7/2018 8:41:00 AM >> # Load the base folders.
11/7/2018 8:41:00 AM >> load "N:" "R:"
11/7/2018 8:41:01 AM Load comparison: N:\ <-> R:\
11/7/2018 8:41:01 AM >> filter ".\snapshot"
11/7/2018 8:41:01 AM >>
11/7/2018 8:41:01 AM >> # Copy different files left to right, delete orphans on right.
11/7/2018 8:41:01 AM >> sync create-empty mirror:left->right
11/7/2018 11:50:29 AM Successfully synchronized 2 items. Completed in 3 hours, 9 minutes.
11/7/2018 11:50:29 AM Script completed in 3 hours, 9 minutes
Comment