Backing Up and Restoring the Authentication and Directory Server Database 814 Enter the following commands to change the directory and stop the VCXAuthentication and Directory service.cd /opt/3com/VCX/scripts/rc3.d./S20vcxdata stop5 Enter the following commands to start the VCX Authentication andDirectory server database backup utility:cd /opt/3com/VCX/vcxdata/bin./backupVcxdataThe utility prompts you to verify that Tomcat and the VCX Authenticationand Directory server services are stopped.Enter y to confirm the services are stopped.The Enter the VCX Site Identification i.e. Site Id promptappears.6 Enter the site ID of the Master Definition site.A backup file named vcxdatabackup..tgz isgenerated and saved in the /opt/3com/VCX/vcxdata/db/export/ directory.Unless you plan to use this backup file immediately to restore thedatabase on another server, you should copy the file to an archive server.7 Restart the Tomcat and the VCX Authentication and Directory services.a Log in to the server hosting Tomcat using the tomcat account andenter the following commands:cd /opt/3com/VCX/scripts/rc3.d./S70tomcat startb Log in to the server hosting the Authentication and Directory serviceusing the cworks account and enter the following commands:cd /opt/3com/VCX/scripts/rc3.d./S20vcxdata startRestoring the VCXAuthentication andDirectory ServerDatabaseVCX systems, whether single-site or multi-site, typically include redundantpairs of servers. The steps in this section describe how to restore anarchived database backup file on a pair (primary and secondary) of VCXAuthentication and Directory servers. The procedure also assumesdatabase replication is enabled between the two servers. Depending onthe reason for the restoration, you may need to execute the steps on onlyone server.