Global On-Demand Synchronization Task - Before Synch Task

The Global On-Demand Synchronization Task entered into the Before Synch Task text box runs before every on-demand synchronization.

Image109.jpg

For example, you could choose to dump your target database before performing synchronizations:

  1. Create the following task under Global On-Demand Synchronizations Tasks in the Before Synch Task text box:  

isql -S servername -Usa -P username -Q"backup database corporate to db_store"

  1. When the synchronization is run, an entry resembling the following appears in the log file if the synchronization was successful:

Log Entry: Thursday, September 9, 2004 3:18:39 PM

Executed BeforeSync Task. isql -S servername -Usa -P username -Q"backup database corporate to db_store" ReturnStatus = 0