Run a Data Replication Task
You can run a Data Replication task manually or on a schedule.
When you run a Data Replication task manually, the Data Replication task starts immediately.
You can configure a Data Replication task to run on a schedule to replicate data from Salesforce objects to the target database at a specified time. When you configure a Data Replication task to run on a schedule, include a repeat frequency to replicate the data at regular intervals.
Rules and Guidelines for Running a Data Replication Task
Use the following guidelines when you run a Data Replication task:
- •You cannot run multiple instances of a Data Replication task simultaneously. If you run a Data Replication task that is already running, the Data Replication task fails with the following error:
Data replication task failed to run. Another instance of task <Data Replication task name> is currently replicating the same objects.
If you configured the Data Replication task to run on a schedule, increase the time interval between the scheduled jobs to prevent multiple instances of the Data Replication task from running simultaneously. If you run the Data Replication task manually, wait for the currently running instance of the Data Replication task to complete before starting it again.
- •If you run a Data Replication task that excludes fields and that writes to a database target, the Data Replication task drops any indexes defined on the excluded fields in the target table.
- •If you replicate timestamp data, the Data Replication task truncates the millisecond portion of the timestamp data.
Running a Data Replication Task Manually
Run a Data Replication task manually to immediately start the Data Replication task. You might want to run a Data Replication task manually for the following reasons:
- •To verify that a Data Replication task is configured properly.
- •To replicate the data occasionally. You may not want to replicate data at regular intervals.
When you start a Data Replication task manually, the activity monitor appears and shows you details about the replication.
To run a Data Replication task manually:
1. Click Task Wizards > Data Replication, and then select List View.
2. On the list view of the Data Replication Tasks page, click the Run Now icon for the Data Replication task that you want to run.
Running a Data Replication Task on a Schedule
Use a schedule to replicate data at a specified time or at regular intervals. You can associate a schedule with one or more Data Replication tasks. Edit a Data Replication task to change the schedule associated with it.
1. To associate a schedule with a new Data Replication task, click Task Wizards > Data Replication, click New, complete the preliminary wizard steps, and then click Schedule.
To associate a schedule with an existing Data Replication task, click Task Wizards > Data Replication, click the Data Replication task name, click Edit, and then click Schedule.
2. Select a schedule in the Schedule area, or click New to create a schedule.