34 CHAPTER 2: VCX™ CONNECT SERVER INSTALLATION
Copying the Database Backup File to the Secondary Server
1 While still logged in to the cworks account on the primary VCX Connect
server, navigate to the directory that contains the database backup files.
cd /opt/3com/VCX/vcxdata/db/export/
2 Identify the backup file that you just created. Backup file names have this
format:
vcxdata<site ID>backup.<version of vcxdata>.tgz
3 Use this command to copy the database backup file from the primary
VCX Connect server to the secondary server:
scp vcxdata<site ID>backup.*.tgz cworks@<IP address of the
secondary VCX Connect server>:/opt/3com/VCX/vcxdata/db/import
4 When prompted for the cworks password, enter it, and the file is copied
to the secondary server.
Restoring the Database on the Secondary Server
On the secondary VCX Connect server:
1 Log in to the tomcat account.
2 Enter the following commands to change the directory and stop Tomcat:
cd /opt/3com/VCX/scripts/rc3.d
./S70tomcat stop
3 Log in to the cworks account and enter these commands to stop the
database service:
cd /opt/3com/VCX/scripts/rc3.d
./S20vcxdata stop
On the secondary VCX Connect server:
1 Log in to the cworks account and enter these commands:
cd /opt/3com/VCX/vcxdata/bin
./restoreVcxdata
2 The script prompts you to confirm that the tomcat and vcxdata processes
have been stopped. Enter y to confirm.
3 When prompted for the site ID, enter the site description that you
configured on both the primary and secondary VCX Connect servers.
The database backup file is used to populate the database on the
secondary VCX Connect server.