2022
Page History
Steps to Run Upgrade Utility on Linux
- Use the below command to go to the scripts Directory
apache-tomcat-dbsync/scripts
As shown below
Once inside the directory run
./upgrade-cli.sh
After running the above command you will get the following message and will show the latest version available
Write Y if you want to upgrade
Once Y is entered it will take a backup of all your files and folders from the previous version
And will create a backup folder
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
Note if the backup is not created and you see your folders/files missing use the below steps for manual backup
Moving files from one directory to another
Command:
...
Copying from one dir to another
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 screenshot below
# cd /home/dbsync/apache-tomcat-9.0.33/logs
# ls -l
Now Tail the logs
# tail -f catalina.out
The above screenshot shows that the tomcat was running
...
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>/
...