Skip to content

Latest commit

 

History

History
executable file
·
20 lines (14 loc) · 653 Bytes

README.md

File metadata and controls

executable file
·
20 lines (14 loc) · 653 Bytes

geoserver-rest

prerequisites

  • bash shell
  • jq https://stedolan.github.io/jq/
  • a GS_REST environment variable set to http://<user>:<password>@<geoserver-host>:<geoserver-port>/geoserver/rest
  • a GWC_REST environment variable set to http://<user>:<password>@<geoserver-host>:<geoserver-port>/geoserver/gwc/rest

export

bash scripts to export running geoserver configuration to a directory structure of json files

./export.sh <export-dir>

import

bash scripts to import geoserver configuration from a directory structure of json files

./import.sh <import-dir>

todo

  • strip out passwords from export and inject into import