Backing up

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 Boundless Server.

Backing up the GeoServer Data Directory

The GeoServer data directory (GEOSERVER_DATA_DIR) is located by default here:

Installation Target GeoServer Data directory
Windows C:\ProgramData\Boundless\geoserver\data
Linux /var/opt/boundless/server/geoserver/data

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 Boundless Server 4.x.

The PostGIS databases can be backed up with the built-in utilities pg_dump (for a single database) and pg_dumpall (for multiple databases).

Custom content

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.