If your
GitCentric restore was successful, you might need to perform one or more of the following tasks depending on whether or not you restored
GitCentric to a new location or to a new machine. In addition, you might need to merge Gerrit configuration files.
If You Restored to a New Location
If you restored
GitCentric to a new location on the existing machine, you need to:
- Modify
docBase in
<ac_home>/WebUI/tomcat/conf/Catalina/<hostname>/gitcentric.xml and
kandoBridge.xml to point to the new
GitCentric location.
- Compare Gerrit configuration files in
kando_backup_site_etc_<yyyymmdd>.tar and merge any changes required to support your
GitCentric installation to the new ../site/etc.
- Restart
Tomcat web server:
<ac_home>/WebUI/tomcat/bin/shutdown.sh
<ac_home>/WebUI/tomcat/bin/startup.sh
If You Restored to a New Machine
If you restored
GitCentric to a new machine, as you might in a migration scenario, for example, you need to:
- Set up
Tomcat web server on the new machine with:
- <ac_home>/WebUI/tomcat/conf/Catalina/<hostname>/gitcentric.xml
- <ac_home>/WebUI/tomcat/conf/Catalina/<hostname>/kandoBridge.xml
- Compare Gerrit configuration files in
kando_backup_site_etc_<yyyymmdd>.tar and merge any changes required to support your
GitCentric installation to the new
../site/etc.
- Restart
Tomcat web server to adjust
AccuRev settings:
<ac_home>/WebUI/tomcat/bin/shutdown.sh
<ac_home>/WebUI/tomcat/bin/startup.sh
- Use
PostgreSQL
psql or
pgadmin tools to edit the Kando database
acserver table to correct the server client path for each
AccuRev Server.
If You Restored to the Same Location
If you restored to the same location, simply unpack the
kando_backup_site_etc_<yyyymmdd>.tar file by running:
tar xvf kando_backup_site_etc_<yyyymmdd>.tar