INF: How Scheduled Data Transfer Works

Last reviewed: August 29, 1997
Article ID: Q172012

The information in this article applies to:
  • Microsoft SQL Server, version 6.5

SUMMARY

SQL Enterprise Manager includes a transfer management interface that you can use to transfer some or all objects from one database to another. You can start the transfer immediately, or you can schedule it to occur either once or on a recurring basis.

Scheduled data transfer is a two-step process:

Step 1: A CmdExec task is inserted into destination server's msdb..systasks table. This task invokes SQL Server Transfer Agent, Xfragent.exe.

The task also contains information about the directory path where all transfer scripts are stored. This path is specified in the "Save Transfer Files in Directory" entry, and it refers to a location on the destination server.

Step 2: When the task executes on the destination server at the scheduled time, it reads transfer scripts that were stored on the destination server's local directory, and completes the actual data transfer.

MORE INFORMATION

The corresponding task will always be inserted into the destination server's msdb..systasks table, whether the transfer is administered using SQL Enterprise Manager from the source server or destination server.

The "Save Transfer Files In Directory" refers to location on the destination server, even if the transfer is initiated on the source server. Normally, if the directory does not already exist, SQL Enterprise Manager creates it. However, if the specified drive cannot be found on the destination server, the task will fail to run, and the task history will indicate a "Process Exit Code 1, Invalid Transfer Log Director" error.


Additional query words: debug task execute
Keywords : SSrvGen SSrvProg kbprg kbusage
Version : 6.5
Platform : WINDOWS
Issue type : kbhowto kbinfo


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 29, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.