[Geoserver-users] Migration of Data directory between different version

Can we migrate the data directory between geoserver version 2.9.0 to Geoserver 2.11.0 by just copying data directory folder.?

On 24/05/17 17:26, peter james wrote:

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 <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand