I always migrate by doing this: Given that: - All styles, stores and layers have a workspace
I follow this procedure: 1. I do not backup my datadir, but only the workspaces dir. You can do this too, but only if your data is not stored inside the data dir. I often have projects with postgis datasources only and for them, this works. 2. In the backup, In every workspace inside the workspaces directory, I manually edit the datastore.xml files to make sure the password is blank. This is because across versions, the password hashing mechanism is subject to change. 3. Fire up the new geoserver. Go to the admin page once. 4. Stop the geoserver 5. Copy your workspaces back up into the new data dir that the new version of geoserver created 6. Fire up geoserver again. 7. Manually enter the passwords for the datastores and enable them. 8. You should be up and running. 2015-10-05 14:00 GMT+02:00 Richard Duivenvoorde <rdmaili...@duif.net>: > On 02-10-15 14:18, David Alda Fernandez de Lezea wrote: >> Hi list, >> >> I'm planning to migrate our old GeoServer 2.0.2 version to a newer one and >> for the moment I have a couple of questions/doubts >> >> - Would it be too radical to migrate from 2.0.2 to the latest one (2.8.0)? >> I'm really concerned about the changes in the data directory. >> >> - Is there any particular Tomcat Version that you recommend installing >> taking into account that the OS will be Windows Server 2012 R2 64 bits ? >> >> Any suggestions or comments are much appreciated. > > Just be carefull, and backup your data directory. > > Also be sure to take the right extension jars, and for example use the > right jdbc jars etc... (just cut myself with an older oracle jdbc jar) > > I know that the credential/security stuff is changed in that dir (I once > irreversible changed that when testing an upgrade.. but I had a backup). > > Tomcat: just take the latest version. > > The proof is in eating :-) > > Regards, > > Richard Duivenvoorde > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Milo van der Linden web: dogodigi tel: +31-6-16598808 ------------------------------------------------------------------------------ _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users