GeoServer data directoryΒΆ

The GeoServer data directory is the location in the file system where GeoServer stores its configuration information.

The configuration defines what data is served by GeoServer, where it is stored, and how services interact with and serve the data. The data directory also contains a number of support files used by GeoServer for various purposes.

For production use, it is highly recommended to define an external data directory (outside the application) both for security reasons and to make it easier to upgrade. The Setting the data directory location section describes how to configure GeoServer to use an existing data directory.

Note

Since GeoServer provides both an interactive interface (via the web admin interface) and programmatic interface (through the REST API) to manage configuration, most users do not need to know about the internal structure of the data directory, but an overview is provided below.