# Windows Zip

* Get the DBSync Replication zip folder from the following URL
* <http://mydbsync.com/integration/cloud-replication-for-salesforce>Once the zip file is downloaded to the desired location on your Windows Machine, Navigate to the designated folder and **Extract/Unzip** to the desired location.

![](https://help.mydbsync.com/docs/download/attachments/53903619/ZIP1.PNG?version=1\&modificationDate=1623249417000\&api=v2)<br>

* Change the **JRE\_HOME** variable in catalina.bat file located at \<InstallDir>/apache-tomcat-8.5.11/bin folder to the path where JRE is located. If you do not have JRE installed, Download it from (we recommend using only Oracle JRE) <http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html>&#x20;

![](https://help.mydbsync.com/docs/download/attachments/53903619/ZIP2.PNG?version=1\&modificationDate=1623249417000\&api=v2)<br>

* Change the **JAVA\_HOME** variable in run.bat file located at \<InstallDir>/apache-tomcat-8.5.11/scripts folder to the path where JRE is located.

![](https://help.mydbsync.com/docs/download/attachments/53903619/ZIP3.PNG?version=1\&modificationDate=1623249417000\&api=v2)<br>

* At this point, the DBSync Cloud Replication tool is successfully installed on your Windows machine. You can start the DBSync Cloud Replication tool by navigating to the ***bin*** folder and executing **startup.bat** script.

![](https://help.mydbsync.com/docs/download/attachments/53903619/ZIP4.PNG?version=1\&modificationDate=1623249417000\&api=v2)<br>

* To access the DBSync Cloud Replication console, Paste [https://localhost:8080/dbsync](http://localhost:8080/dbsync) URL in your browser address bar and you will be presented with the DBSync Cloud Replication Home page.\
  \
  ![](https://help.mydbsync.com/docs/download/attachments/53903619/image2021-6-9_20-24-10.png?version=1\&modificationDate=1623250448000\&api=v2)<br>
* Running the application under batch mode:
  * Go to \<install folder>/dbsync/scripts. Make sure that setenv.bat points to your install directory.
  * For Sync schema Run – run \<profile name> Update Schema
    * Example: run DBSync Update Schema
  * For getting a clean copy Run – run \<profile name> Cleancopy
    * Example: run DBSync Cleancopy
  * For moving data from [Salesforce.com](http://salesforce.com/) to database Run – run \<profile name> Source to DB
    * Example: run DBSync Source to DB
  * For moving data from the database to [Salesforce.com](http://salesforce.com/) Run – run \<profile name> DB to Source
    * Example: run DBSync DB to Source

<br>


---

# 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/installation/windows-zip.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.
