[Geoserver-users] copy settings from one version of geoserver to other

Hello to all

I have implemented a map servise with geoserver . My implementation is here http://mpe.gr/index.php?option=com_content&task=view&id=408&Itemid=77 .

My version is GeoServer 1.5.0-RC1 and i want to move on Geoserver 1.5 stable version

Is there a way to copy my settings (datastores and features types with all slds to the new version)

What files do i need to copy for this ?

Γεώργιος Τσολάκης - Περιβαλλοντολόγος
Γραφείο Περιβαλλοντικών Μελετών
Ζήνωνος 57. Περιστέρι. Αθήνα
tel: +30 210 5727615
fax: +30 210 5727995
mobile: + 30 6977 158693
email: tsoler@…832…
URL : www.mpe.gr

George Tsolakis ha scritto:

Hello to all

I have implemented a map servise with geoserver . My implementation is here http://mpe.gr/index.php?option=com_content&task=view&id=408&Itemid=77.

My version is GeoServer 1.5.0-RC1 and i want to move on Geoserver 1.5 stable version

Is there a way to copy my settings (datastores and features types with all slds to the new version)

What files do i need to copy for this ?

You just have to copy the data directory from one version to the
other, that's all. If you used the windows installer version, your
data directory will be in a directory like:
C:\Programs\GeoServer 1.5.0-xxx\data_dir

Hope this helps
Cheers
Andrea

On Wednesday 02 May 2007 23:02:43 Andrea Aime wrote:

George Tsolakis ha scritto:
> ...
> Is there a way to copy my settings (datastores and features types with
> all slds to the new version)

You just have to copy the data directory from one version to the
other, that's all...

it would be nice, in the future, to have a _merge_ utility which combines two
data directories. this way, products that bundle GeoServer with their own
data can update an existing GeoServer installation.

cheers;
rsn

Raif S. Naffah ha scritto:

On Wednesday 02 May 2007 23:02:43 Andrea Aime wrote:

George Tsolakis ha scritto:

...
Is there a way to copy my settings (datastores and features types with
all slds to the new version)

You just have to copy the data directory from one version to the
other, that's all...

it would be nice, in the future, to have a _merge_ utility which combines two data directories. this way, products that bundle GeoServer with their own data can update an existing GeoServer installation.

Hum, why do we need that?
Geoserver can take an old data directory and it will try to upgrade it
to the current version. You don't have to merge anything?
Oh, btw, the configuration subsystem will change in a few months moving
from file based to databased based.

Cheers
Andrea

hello Andrea,

i was thinking of two scenarios, which end up as one use-case. both assume
for the sake of simplicity that moving from version V1 to V2 of GeoServer
implies over-writing V2's data_dir with that of V1, in order to continue
using their current (at the time of the upgrade) data.

1. User acquire (and installs) GeoServer V1 + data D1 from a publisher. they
start using GeoServer and add to the original data. by the time the
publisher releases a new version of their product with GeoServer V2 and data
D2, User has data D1'. assuming, as above, [backward] compatible data_dir
structures, they can move to GeoServer V2 + data D1'. but now they want to
benefit from the new/amended data D2. a/the merge tool can do that.

2. an organization has several departments (let's call them Users) using the
same version of GeoServer, but over time, each User has now a different
version of the data. two or more Users want to share their data. again
a/the merge tool can do that.

does this make sense?

not knowing how the new configuration subsystem will work i'm not able to see
how it can affect the above scenarios. i assume/hope that when that new
system will be put in place, there will be enough documentation, if not
tools, to migrate from the previous version.

On Thursday 03 May 2007 16:40:05 Andrea Aime wrote:

Raif S. Naffah ha scritto:
> On Wednesday 02 May 2007 23:02:43 Andrea Aime wrote:
>> George Tsolakis ha scritto:
>>> ...
>>> Is there a way to copy my settings (datastores and features types with
>>> all slds to the new version)
>>
>> You just have to copy the data directory from one version to the
>> other, that's all...
>
> it would be nice, in the future, to have a _merge_ utility which combines
> two data directories. this way, products that bundle GeoServer with
> their own data can update an existing GeoServer installation.

Hum, why do we need that?
Geoserver can take an old data directory and it will try to upgrade it
to the current version. You don't have to merge anything?
Oh, btw, the configuration subsystem will change in a few months moving
from file based to databased based.

Cheers
Andrea

cheers;
rsn