Cloud Replication
SolutionsResourcesContact Support
v9
v9
  • Introduction
  • Core Concepts
  • Installation
    • Windows
    • Windows Zip
    • Linux
    • Increase Heap Memory
    • Configuring and Running DBSync Cloud CDM On Docker
  • Security Architecture
  • Tomcat
    • Security for Tomcat Setup
  • Utilities
    • Command Line
      • testconnection
      • showlicense
      • downloadlicense
      • diffschema
      • Describe
      • verifypasswd
      • chpwd
    • Upgrade Utility
      • Run Upgrade Utility on Linux
  • Source Setup
    • Salesforce
      • Salesforce Field Selection
      • Outbound Message Setup
      • File Replication
        • Enable and Run File Replication
    • Business Central
    • Dynamics 365
    • Salesforce HealthCloud
  • Target Setup
    • Common Database Setup
    • SQL Server 2005 Compatibility
    • Oracle
      • Oracle with Wallet
    • Azure Active Directory Setup Process
    • AWS Redshift
      • Amazon Redshift
      • Datapipeline
    • Azure Synapse
      • Configuring Storage Account Access for Selected Virtual Networks and IP Addresses
    • Azure Datalake Gen2
    • MINIO
    • Advance Settings
      • File Download
      • Rename Table or Column
      • Global prefix for Table & Column names
      • Database Logging
  • Objects
    • Filter Criteria
    • Datamasking
    • Formula Field Update
  • Restore
  • Schedule Jobs
    • Scheduler For Replication
    • Cron- functionality
  • Notifications
    • Email
    • Webhooks
  • Logs
  • Metadata
  • CDC Database Replication
    • Start Replication
    • Enabling CDC on your Database
  • Batch Mode
  • Additional Configuration settings
    • Alter Field Size in Database
    • do_sync_flag
    • Force Property
    • Multithread properties
    • Overriding Database's Datatypes
    • How to disable stdout and stderr logging on Windows
  • Data Compare
    • Introduction
    • Starting Data Compare
      • Source Setup
      • Target Setup
      • Mapping
      • Compare
      • Filtering data
      • Update Source
      • Update Destination
      • Download
      • Logs
    • Data Compare Command Line
  • Global Settings
    • Profile Backup
    • Log Event Notification
    • Log Database Externalization
    • Replication Web API
  • Troubleshooting
    • Tomcat
    • Out of Memory Exception
    • Mismatch in Datasize
    • Unable to Create Sequence in Oracle DB
    • Single File Logging
    • Row Size greater than 64kb in MySQL
    • Secure your App using credentials
    • Update Salesforce/MS CRM Org ID
    • Incorrect Syntax Near Column Name
    • SSL Configuration in DBSync Tomcat
  • Release Notes
    • Release 9.4.4
    • Release 9.4.3
    • Release 9.4.2
    • Release 9.4.1
    • Release 9.4
    • Release 9.3
    • Release 9.2.2
    • Release 9.2.1
    • Release 9.2
    • Release 9.1
    • Release 9.0.6
    • Release 9.0.5
    • Release 9.0.4
    • Release 9.0.3
    • Release 9.0.2
    • Release 9.0.1
    • Release 9.0
    • Release 8.4
    • Release 8.3
    • Release 8.2
    • Release 8.1
    • Release 8.0
Powered by GitBook
On this page
  • Download latest build
  • Install/Unzip
  • Take a backup of profiles
  • Take a backup of Scheduler jobs
  1. Installation

Linux

PreviousWindows ZipNextIncrease Heap Memory

Last updated 9 months ago

Download the DBSync Linux zip file from the following URL

JRE/JDK 11 for Linux is Mandatory for enhanced replication application performance. Applicable from version 9 and above.

Download latest build

Command-

#wget

step: Once the file is downloaded, make a list of files using the below command

# ls -l

You can see the DBSync_CloudCDM_Vx.x.x.zip file

Install/Unzip

Step: Now unzip the above-downloaded file

# unzip DBSync_CloudCDM_Vx.x.x.zip

  • After unzipping you can see the apache-tomcat-dbsync folder

# cd apache-tomcat-dbsync

# ls -l

Make sure that logs directory exists in apache-tomcat-dbsync, if it is not there, please create a directory as logs

# mkdir logs

  • Step : Once after creating the logs directory, now go to bin directory

# cd bin

  • Change the permission for the scripts by getting into the bin folder and provide executive permission for all the shell scripts using the command Chmod 750 *.sh.

  • Check for necessary directory and file permissions

# cd bin

  • Change the permission for the scripts by getting into the bin folder and provide executive permission for all the shell scripts using the command Chmod 750 *.sh.

  • Giving ownership of dbsync to tomcat

  • Command:

#chown -R dbsync:dbsync directory name

  • Giving permissions to files

  • command: #chmod -R 754 directory/filename

  • Step: Starting The Tomcat

  • At this point, the DBSync Cloud Replication tool is installed on your Linux server. You can start the DBSync Cloud Replication tool by navigating to the bin folder and running the command from the terminal window

  • Command : #sh catalina.sh start.

Installing java files (JDK/JRE files ) Command #yum install java-1.8

  • Commands to copy backed up directory or files to new destinations

Step: Create a Directory Command :

mkdir directory-name

Moving files from one directory to other Command:

# mv source directory/* destination directory/

Copying from one dir to other Command :

# Cp -r source directory /~/ destination directory

Stopping tomcat

# ps -ef | grep java

  • Step : To check the logs you can run the command tail -f catalina.out as illustrated in the below screenshot

# cd /home/dbsync/apache-tomcat-dbsync/logs

# ls -l

Now Tail the logs

# tail -f catalina.out

The above screenshot shows that the tomcat was running

Take a backup of profiles

  • Create a backup directory in the home folder

  • mkdir <folder name>

  • Go to the following directory /home/dbsync/dbsync/dbsync-cdm/WEB-INF/profiles/1

  • Use the below command to copy the files present inside the profiles folder

  • cp -r <files> ~/<destination folder>/

Take a backup of Scheduler jobs

  • Create a backup directory in the home folder

  • mkdir <folder name>

  • Go to the following directory dbsync/scheduler

  • Use the below command to copy the files present inside the scheduler folder

  • cp -r <files> ~/<destination folder>/

Step : To access DBSync Cloud Replication console, please paste the

URL in your browser address bar and you will be presented with the DBSync Cloud Replication Home page.

https://s3.amazonaws.com/dbsync-downloads/prod-dbsync-downloads/dbsyncdownload/cloudcdm/DBSync_CloudCDM_Vx.x.x.zip
http://< IP >:8080/dbsync
http://localhost:8080/dbsync