Starting Data Replication
You can create and start replications using source and target data sources.
Before you begin
Complete the following prerequisites:
- You must have a Data Replication service. If you do not have a Data Replication service instance, see Creating and managing IBM Cloud services.
- You must create a project.
- You must add Data Replication as an associated service to your project.
Starting your replication
To start Data Replication:
From the Assets tab of your project, click New asset.
In the Graphical builders category, select Data Replication.
Enter a name.
The Copy business goal is already selected for you. Copy will synchronize the specified schemas and tables from the source to the target. Click Source options.
Select a source connection from the list, or click Add Connection to create a new one. See Supported Data Replication connections.
Click Select data.
Select a schema to see the list of tables for that schema. You can select one or more schemas and tables.
Selecting only a schema without selecting any tables in the schema will keep the schema (and all its tables) from the source synchronized on the target. An asterisk will be added next to the schema in the Replication selection column to indicate that the entire schema will be replicated.
If you select one or more specific tables from a schema, then only those tables will be synchronized. The tables will be listed in the Replication selection column and you can expand and collapse the schema to see the set of selected tables from that schema.
Click Target options.
Select a target connection from the list, or click Add Connection to create a new one. Check the specific connection topics to see what information is needed for each type of connection.
Review the summary, then click Create.
Running your replication
To run your replication:
From the project, click the Assets tab.
Click the Data Replication asset.
Click the Run replication icon to start the replication process.
The first time you click the run replication icon on a Data Replication asset, an API key configuration dialog will appear. This API key updates information in the project.
- Click Generate an API key.
- A Name and Description are provided for you, and you can edit both.
- Click Generate and run.
- To save your API key, click the Copy icon, and paste into the password manager software of your choice.
- Click Close.
The replication status changes to starting and you can see progress in the event log. The status updates to running after the replication process starts.
The replication continues to run until you stop it. Changes to the selected source schema tables are replicated in the target database tables.
Parent topic: Data Replication (beta)