# Start Replication

## **Source Setup**

* Select the Type of database to which you wish to replicate .
* To start with, the database credentials of the user are required such as  Host, Port, Username, Password, Database name, and Schema.
* Based all the details entered by the user, URL field gets auto-filled.&#x20;

  ![](https://lh7-us.googleusercontent.com/BWBTxoJpVSPaOIvrO-qsKa9jsoW4GcAHE5BECa_N57FW8GRhVipnCrCwb6Yks91wu37kfwm7zSHRYYV-uIr8_uZT9QF2e4MtkwagAZPvMH32LEgGf6b0wybaJku85Xx7J2fAyw8TsBRwhQHDsUMB4Uc)

Now click on **Next**  to Set Up target instance<br>

**Source Setup**<br>

* Select the Type of database to which you wish to replicate .
* To start with, the database credentials of the user are required such as  Host, Port, Username, Password, Database name, and Schema.
* Based all the details entered by the user, URL field gets auto-filled. \
  ![](https://help.mydbsync.com/docs/download/attachments/68878717/image2023-11-21_17-33-47.png?version=1\&modificationDate=1700568637000\&api=v2)

Now click on **Next**  to select the Objects

## **Object Selection & Run Command**

* Once, a user has connected to Source then objects will get synced and it will show on the objects tab.
* Select any Object to sync into the Target database objects table section as shown below.

![](https://help.mydbsync.com/docs/download/thumbnails/68878717/5.JPG?version=1\&modificationDate=1700568637000\&api=v2)

* Select the object fields you want to sync into the database from the "Available Fields" section and use the "exclude fields" section to filter out fields you don't want to sync into the database.

![](https://help.mydbsync.com/docs/download/attachments/68878717/image2023-11-21_17-38-57.png?version=1\&modificationDate=1700568637000\&api=v2)

* Click the RUN button and select Clean Copy command to get an exact copy of your  Salesforce selected objects.

&#x20; ![](https://help.mydbsync.com/docs/download/attachments/68878717/image2023-11-21_17-39-28.png?version=1\&modificationDate=1700568637000\&api=v2)

## **Attributes of Run Command**&#x20;

| Run Process   | Actions Performed                                                                                   |
| ------------- | --------------------------------------------------------------------------------------------------- |
| Update Schema | Creates source apps schema into database for the selected source apps objects.                      |
| Clean Copy    | Inserts a clean copy of Source object records into respective Target database tables & columns.     |
| Source to DB  | Performs incremental sync from Source to the database based on the changes/edits made in the Source |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mydbsync.com/cloud-replication-main/v8/database-replication/start-replication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
