Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Quick Start with DBSync Replication

...

Use DBSync Replication with different source apps (Salesforce/Microsoft CRM) to connect a database.

...

Image Removed

...

(Note: Source Apps includes Salesforce and Microsoft CRM Application

...

Run Process

...

Actions Performed

...

Update Database Schema

...

Creates Source Apps schema into Database for the selected Source Apps objects.

...

Source Apps to Database (Clean Copy)

...

Inserts a clean copy of selected Source Apps object records into respective Database Tables & Columns.

...

Source Apps to Database (Incremental)

...

Image Removed

...

Image Removed

...

)

The quickstart walks through how to create profile under different source applications like Salesforce and Microsoft CRM. The DBSync replication is offering you to connect the source apps like Salesforce and Microsoft CRM with different databases like MySql, SQL Server, Oracle, DB, PostgreSQL, Cassandra, AWS RedShift, Snowflake, Sybase, and MongoDB.

This quickstart shows you how to get started by creating a profile under source applications and how to replicate the data with the help of DBSync from source applications to different databases.

Log in to the DBSync replication portal

Sign in to the DBSync Replication portal.

Fill the configuration details in global settings 

Start DBSync Replication console to configure the proxy settings under the global settings option on the home page.

Follow these steps to configure a proxy global settings in DBSync replication portal.

  1. Once, you have logged in then click to "main menu" in the right hand top corner on the home page of DBSync replication portal.
  2. Next, enter the required proxy credentials in different text boxes like proxy host, port, username and password under the global settings section.
  3. Click on save changes button to save a global settings details.

Image Added

Create a source application profile

Source application profile Includes Salesforce and Microsoft CRM. The source app profile is created within the DBSync Replication platform.

Follow these steps to create a profile under source applications like Salesforce and Microsoft CRM.

  1. Click to "add profile" in the right-hand corner of the profiles section of the DBSync replication portal.
  2. Select, the required source name application from the drop-down menu under the product header.
  3. Next, enter the name of the profile like "testprofile" under the name section. 
  4. Click on save changes button to create a new replication profile.

Image Added

Source application setup details

Start with source application setup details includes Salesforce and Microsoft CRM. 

The source setup application details required to configure your Salesforce and Microsoft CRM credentials like "username" and "password"

Follow these steps to configure your source application like Salesforce and Microsoft CRM.

  1. Click to "Salesforce and Microsoft CRM" setup tab on the left-hand corner in the profiles section of the DBSync Replication portal.
  2. Don't change the "environment and soap end details", all these details are pre-filled.
  3. Next, enter the "username" and "password" credentials for Salesforce and Microsoft CRM.

    Image Added

  4. "OR", "Other option for salesforce" click on connect to Salesforce (OAUTH) to enter Salesforce login credentials like "username" and "password" to connect the Salesforce application.

    Image Added

  5. Click on the test connection button to validate your source application login details. 

    Image Added

  6. Click on the Save button to save your source apps login details.

    Image Added

  7. Once completed, click on the next button to proceed to the database setup tab.

Configure database setup details

Start with the database setup tab, to fill all the necessary details and follow the same procedure for testing and validating your

...

database credentials.

...

Provide Recipient email address details under Email Recipients section respectively.

  • The Advanced Settings tab provides you an option to sync non-replicate Source Apps objects into Database. Mark the check-box for Email only on Error to get the details when error occurs.

  • Once the process is completed then click on Save & Next buttons to proceed further.

         Note: The database URL can also be entered manually if you know your database Connection string.

Image Removed

Image Removed

Follow these steps to configure your database credentials with different databases like MySql, SQL Server, Oracle, DB, PostgreSQL, Cassandra, AWS RedShift, Snowflake, Sybase, and MongoDB.

  1. Click to "database" setup tab on the left-hand corner in the profiles section of the DBSync replication portal.
  2. Select, the required "type namefrom the drop-down menu options like "MySql, SQL Server, Oracle, DB, PostgreSQL, Cassandra, AWS RedShift, Snowflake, Sybase, and MongoDBunder the "database setup" section.

    Image Added
    (Note: The database URL can also be entered manually if you know your database Connection string.)

  3. To start with database credentials user has to enter all the configuration details like host, port, username, password, database name, and schema.
  4. Once, all the details entered by the user then URL details will get auto-filled. 
  5. Click on the Test Connection button to validate your source application login details. 
  6. Click on the Save button to save your source apps login details.
  7. Once completed, click on the next button to proceed to the advanced settings tab to get the email Id to get the notifications.

       Note: 

  • While replicating with the Amazon Redshift database, please refer to the following wiki link for specific

    details

     details on Replication with Amazon Redshift.

      

    http://help.mydbsync.com/docs/display/CloudReplication/Amazon+Redshift

    At this point, bothSource Apps and Database credentials are configured and saved for your Replication profile. You can navigate to theSource Apps (Salesforce/Microsoft CRM) Sync Object Detailstab by clicking on Save and Next button.In Source Apps Sync Details section, you can select the Source Apps objects you want to sync into Database from the left Objects

Advanced settings tab details

Start with the advanced settings tab, to fill all the necessary details and follow the same procedure for testing and validating Advanced settings credentials.

Follow these steps to configure your Advanced settings credentials.

  1. Click to "advanced" settings tab on the left-hand corner in the Profiles section of the DBSync replication portal.
  2. Mark the checkbox to "enable database logging" to create an auto-created table in the database.
  3. Next, Mark the checkbox of "email only on error" to get an email message when error will occur.
  4. Enter an email for an "email recipient" to get the notification when any run command is executed.
  5. Click on the save button to save the details of your advanced setting.
  6. Once the process is completed then click on save and next button to proceed further.

Image Added

Source application objects tab

Start with Source Application Objects tab, to get synced all the objects when the user will get connected to different source applications like Salesforce and Microsoft CRM.

Follow these steps to synced all objects for source application like Salesforce and Microsoft CRM.

  1. Click to "objects" tab on the left-hand corner in the Profiles section of the DBSync replication portal.
  2. Once, the user has connected to source applications like Salesforce and Microsoft CRM then objects will get synced and it will show on the objects tab.
  3. Select any "source apps objects" you want to sync into a database from the left objects section as shown below.

...


  1. Image Added

  2. Select

...

  1. the object

...

  1. fields you want to sync into

...

  1. the database from the"Available

...

  1.  Fields" section and use

...

  1. the "exclude fields" section to filter out fields you don't want to sync into

...

  1. database. 

    Image Added

  2. Once completed, click on the"run 

...

  1. button

...

  1. " to Run the configuration for the

...

  1. source apps object.

Image Removed

...


  1. Image Added

  2. Run menu to select the required commands like an update database schema, source apps to the database (Clean Copy), source apps to the database (Incremental) to execute.
    As per the above commands here the user has to select the Clean copy and Source to Database command to replicate all the sync objects to their database.
  3. Once the user has selected and "Run" the Command, then it will redirect to

...

  1. the user on the

...

Image Removed

...

  1.  log screen tab to see the status of the command is completed or not.

...

Once command is executed then you will get the email in your mailbox as per the details submitted by you in Advanced Settings tab for Notifications.

...

At this point your Replication profile is ready to sync your Source Apps and Database applications as per configurations. Initiate the sync using the Run menu to select the required process to execute.


  1. The below section explains the steps involved in source apps to database replication.


Run Process

Actions Performed

Update database schema

Creates source apps schema into the database for the selected source apps objects.

Source apps to database (Clean Copy)

Inserts a clean copy of selected source apps object records into respective database tables & columns.

Source apps to database (Incremental)

Performs incremental syncfrom source apps to a database based on the changes/edits made in the source.


Configure schedule jobs tab

Start with the Scheduler Jobs tab, where users can schedule the sync using Scheduler Tab.

Follow these steps to schedule the sync using the Scheduler tab with scheduler functionality like run commands options, Date, Month and year format settings and repeat Drop-down menu details to set the desired duration to sync the selected objects.

  1. Click to "scheduler jobs" tab on the left-hand corner in the Profiles section of the DBSync replication portal.
  2. Once, the user has connected to source applications like Salesforce and Microsoft CRM then objects will get synced and the user can directly select the required process from the command drop-down and configure the frequency of the sync by selecting a desired duration from the Repeat drop-down

...

Once you have selected all the options then go to the Starts On option and select the Date, Month and Year from the Drop-down menu.

...

Once, you have saved all the details in the Scheduler Jobs tab then it will automatically create a task in the task section with all the details including Task Name, Action, Command and Start Date and Time.

  1. menu.
  2. Next, "start on"  option to select the date, month and year from thedrop-down menu to get the objects synced for particular Date and Month format.
  3. Create a task in the "task section" with all the details including task name, action, command, and start, date and time.
  4. Once the process is completed then click on the Save button to proceed further.

Image Modified