Discussion:
[Geoserver-users] Migration of Data directory between different version
peter james
2017-05-24 05:26:36 UTC
Permalink
Can we migrate the data directory between geoserver version 2.9.0 to
Geoserver 2.11.0 by just copying data directory folder.?
Ben Caradoc-Davies
2017-05-24 07:04:38 UTC
Permalink
Post by peter james
Can we migrate the data directory between geoserver version 2.9.0 to
Geoserver 2.11.0 by just copying data directory folder.?
Peter,

yes, this is expected to work. I am not aware of any incompatible
changes in this upgrade.

You can also change the location of the data directory:
http://docs.geoserver.org/latest/en/user/datadirectory/setting.html

Note that some upgrades can change the data directory in ways that
prevent later downgrade:
http://docs.geoserver.org/latest/en/user/installation/upgrade.html
http://docs.geoserver.org/latest/en/user/datadirectory/migrating.html

It is safest to have a backup. Upgrading by copying the data directory
as you describe is also safe.

Kind regards,
--
Ben Caradoc-Davies <***@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand
Loading...