Skip to content

ESGF Pre Installation Backup

Sasha Ames edited this page Feb 17, 2016 · 6 revisions

Before running the ESGF Installer script, it is recommended that the following system directories backed up (recursively), so that the system can be restored to its original state in case anything goes wrong:

  • /usr/local/tomcat (contains Tomcat configuration and web applications)
  • /usr/local/esgf-solr-5.2.1 (contains the Solr configuration for the local and remote shards)
  • /esg/config (contains ESGF configuration for various applications)
  • /esg/solr-index (contains the Solr indexes for the local and remote shards)
  • /etc/grid-security (contains trusted X509 certificates)
  • /esg/content/thredds/catalog.xml (Thredds Master Catalog XML File)
  • /usr/local/cog/cog_config (Local CoG configuration not in the pg database)
  • /etc/esgfcerts - (copy of the certificates used to setup globus)
  • /etc/certs - (copy of certificates set up with Apache)

Additionally, the content of the Postgres database (containing the user accounts, and the data catalogs) can be backed up with the following command:

pg_dump -U $DBUSER --password --verbose esgcet > esgf_database.sql (enter $DBPASSWORD)

where $DBUSER (and the corresponding $DBPASSWORD) are the username and password for the ESGF Postgres superuser.