2022
Page History
...
Steps to Run Upgrade Utility on Linux
- Use the below command to go to Navigate to the scripts Directorydirectory
apache-tomcat-dbsync/scripts
...
After running the above command you will get the following message and will show the latest version available
Write Type Y if you want to upgrade
...
Once the process is completed you can check if your tomcat is running or not if not rerun and log in to dbsync
There you can find all your profile and configurations done on the older version
Manual Backup
Note if the backup is not created and you see your folders/files missing use the below steps for manual backup
Do this only if you want to Upgrade Manually or If the script fails to upgrade
Moving files from one directory to another
Command:
...
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><install-dir>/dbsync-cdm/WEB-INF/profiles ~/<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><install-dir>/scheduler ~/<destination folder>/
-
Go to the Installation directory
example
(go to the installation directory)
cd apache-tomcat-dbsync/dbsync-cdm/WEB-INF/db/conf
Use the below command to copy the files present inside the conf folder
cp
system.properties ~/<destination folder>/
Go to the Installation directory
example
(go to the installation directory)
cd apache-tomcat-dbsync/dbsync-cdm/WEB-INF/db/conf
Use the below command to copy the files present inside the conf folder
cp -r <database>.
properties ~properties ~/<destination folder>/
Example for MYSQL
cp -r mysql.
properties~properties ~/<destination
Folder>folder>/\
Note: All the backup up folders/files need to be placed at the exact location in the new installation or upgrade location