Skip to content

ESGF Pre Installation Backup

Nicolas Carenton edited this page Apr 24, 2014 · 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-3.6.0 (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)

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.

Clone this wiki locally