Hello,
Is there a way to copy workspace with it‘s store connection (postgis), layers and groups to other geoserver instance. I tried simply to copy workspace folder from data dir to other geoserver data dir but this didn‘t worked. After restarting geoserver new workspace only apears in list, but data connection and all layers and groups of it are missing.
Maybe there is something I must do more?
Sincerely,
Paulius Litvinas
GIS consultant


I have a custom GeoServer work directory, when I upgrade a server I copy over the whole folder
I.e. workspaces, coverages, styles etc – I then set up my new GeoServer instance to point at it and it’s as if I have cloned GeoServer (except extension and plugins which are stored in the tomcat container)





···
Mark Ismail
From: Paulius Litvinas | InfoEra [mailto:paulius@anonymised.com]
Sent: 02 July 2015 08:21
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Copy workspace to other geoserver instance
Hello,
Is there a way to copy workspace with it‘s store connection (postgis), layers and groups to other geoserver instance. I tried simply to copy workspace folder from data dir to other geoserver data dir but this didn‘t worked. After restarting geoserver new workspace only apears in list, but data connection and all layers and groups of it are missing.
Maybe there is something I must do more?
Sincerely,
Paulius Litvinas
GIS consultant
![line]()
![info_era_autodesk]()
Hi all
I assume the problem is the encrypted postgis password. Each GeoServer instance uses its own keys for encryption.
You have to edit the datastore xml file. Lets assume your postgis password is “mypassword”, edit the following line.
<entry key="passwd">plain:mypassword</entry>
Restart GeoServer, open the GUI for editing the datastore and press save. Now your password should be encrypted with the proper key. You should see something like this:





···
On Thu, Jul 2, 2015 at 10:03 AM, Ismail, Mark <mark.ismail@anonymised.com> wrote:
I have a custom GeoServer work directory, when I upgrade a server I copy over the whole folder
I.e. workspaces, coverages, styles etc – I then set up my new GeoServer instance to point at it and it’s as if I have cloned GeoServer (except extension and plugins which are stored in the tomcat container)
Mark Ismail
From: Paulius Litvinas | InfoEra [mailto:paulius@anonymised.com]
Sent: 02 July 2015 08:21
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Copy workspace to other geoserver instance
Hello,
Is there a way to copy workspace with it‘s store connection (postgis), layers and groups to other geoserver instance. I tried simply to copy workspace folder from data dir to other geoserver data dir but this didn‘t worked. After restarting geoserver new workspace only apears in list, but data connection and all layers and groups of it are missing.
Maybe there is something I must do more?
Sincerely,
Paulius Litvinas
GIS consultant
![line]()
![info_era_autodesk]()
This e-mail and any attachments are confidential. It may contain privileged information and is intended for the named recipient(s) only. It must not be distributed without consent. If you are not one of the intended recipients, please notify the sender immediately and do not disclose, distribute, or retain this email or any part of it and do not take any action based on it.
Unless expressly stated, opinions in this email are those of the individual sender, and not of Knowsley MBC. Legally binding obligations can only be created for, or be entered into on behalf of, Knowsley MBC by duly authorised officers or representatives.
Knowsley MBC excludes any liability whatsoever for any offence caused, any direct or consequential loss arising from the use, or reliance on, this e-mail or its contents. We believe but do not warrant that this e-mail and any attachments are virus free. You must therefore take full responsibility for virus checking and no responsibility is accepted for loss or damage arising from viruses or changes made to this message after it was sent. Knowsley MBC reserves the right to monitor and/or record all e-mail communications through its network in accordance with relevant legislation.
Don’t Limit Your Business. Reach for the Cloud.
GigeNET’s Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH