How to Back Up GitCentric

  1. Stop the GitCentric server using shutdown.sh:
    <ac_home>/WebUI/tomcat/bin/shutdown.sh
  2. Run full_backup.sh -l <path to gc_home>

    where <path to gc_home> is the full path to the GitCentric home directory you want to back up. For example:

    ./full_backup.sh -l /home/gitcentric/AccuRevGitCentric
    GitCentric displays a completion message, including the name of the .tar file, if the backup was successful; otherwise, it displays errors.
  3. Start the GitCentric server using startup.sh:
    <ac_home>/WebUI/tomcat/bin/startup.sh
    Note: Make sure that the user starting Tomcat web server has write access to the logs, temp, webapps, and work directories in <ac_home>/WebUI/tomcat. This user should have read access to all other Tomcat web server directories and files.