Brad, I had a similar experience with the docs. I was able to upgrade without exporting/importing the data. I shutdown tomcat, backed up the entire directory tree, configured tomcat to use the new war, started it. The only issue I had was that there was a bug where releasing caused NPEs for projects created before the upgrade. That problem is described in http://jira.codehaus.org/browse/CONTINUUM-1985. I am using war installations of continuum and archiva in a single instance of Tomcat 5.5 configured to use the embedded derby driver. I mention this because it may affect your backup procedure. I simply had to copy the database files. HTH, Brent
>>> "Harper, Brad" <[email protected]> 1/9/2009 11:34 AM >>> Believe it or not, I read the info at http://continuum.apache.org/docs/1.2.2/installation/upgrade.html before posting the message, below. My questions were motivated by the statement Note If you are upgrading from 1.1 to 1.2, no upgrade tool is needed. but the content goes on shortly to describe the [apparently contradictory] steps for running tools to migrate the data from 1.1 to 1.2. Further, + the directory structure shown in the steps for importing data into 1.2 don't reflect what I'm seeing in my 1.2.2 installation data/databases/continuum/ [and presumably data/databases/users/] + the first import statement refers to the 1.1 tool, i.e. java -Xmx512m -jar data-management-cli-1.1-app.jar ... Are these typos? Thanks, Brad > -----Original Message----- > From: Harper, Brad > Sent: Thursday, January 08, 2009 5:31 PM > To: '[email protected]' > Subject: Migration Questions > > I'm attempting to migrate from continuum 1.1 to 1.2.2. > > Am I correct in understanding that no database migration is > needed, meaning that the relational schema is unchanged and > no tables/columns are affected? > > How does the 1.2.2 app know where to get legacy user and > build info? Is it possible to simply copy the contents of > ${CONTINUUM_HOME}/data/users/ and > ${CONTINUUM_HOME}/data/continuum/ somewhere under data/ in > the 1.2.2 installation? > > Also ... > > Under my 1.1 installation I had modified > ${CONTINUUM_HOME}/conf/plexus.xml to define 'mail.smtp.host' > for the 'mail/Session' resource. Where should the equivalent > configuration occur under 1.2.2? > > Thanks. > > Brad > >
