Backing up is a vital task of any system administrator. It should be done on a regular basis, and especially before doing any in-place upgrades. This section discusses how to backup the various components of OpenGeo Suite.
Backing up the GeoServer Data Directory¶
The GeoServer data directory is located by default here:
|Installation Target||GeoServer Data directory|
In general, the directory can safely be copied or archived to another location, and can be restored by reversing the process. Please be sure to shut down GeoServer before making any backups or restores.
Backing up the PostGIS database system¶
Please see the Installation section for your particular operating system if backing up in preparation for an upgrade to OpenGeo Suite 4.x.
Miscellaneous backup tasks¶
GeoExplorer saves its map configurations in a file called geoexplorer.db. By default this file is located at:
This file can be safely backed up and restored as necessary without any special utilities.
Make sure to backup all data and custom applications hosted on the server but not contained in the GeoServer data directory. The details are dependent on the content and where it was placed.