Andrew,

It is possible to perform an upgrade from an old version to a new 
version. We have a note about "upgrading across multiple versions" at 
the top of our new Installation docs:
https://wiki.duraspace.org/display/DSDOC18/Upgrading+a+DSpace+Installation

There's a few ways to perform this upgrade.  One ways is to do it step 
by step as described in the above documentation (upgrading from 1.3.x -> 
1.4.x -> 1.5.x -> 1.6.x -> 1.7.x -> 1.8.x).

Another way is to just upgrade your existing database structure to be 
1.8.x compatible, and then perform a "fresh install" of 1.8.2.

Here's how you could just upgrade your existing database & associate it 
with a fresh install of 1.8.2:
(1) First backup everything!  Also, you should try this out on a test 
server before you do it on production
(2) Upgrade your existing database structure & data from 1.3.1 to 1.8.x 
by running *all* of these scripts in order:
   [dspace-src]/dspace/etc/postgres/database_schema_13-14.sql
   [dspace-src]/dspace/etc/postgres/database_schema_14-15.sql
   [dspace-src]/dspace/etc/postgres/database_schema_15-16.sql
   [dspace-src]/dspace/etc/postgres/database_schema_16-17.sql
   [dspace-src]/dspace/etc/postgres/database_schema_17-18.sql
These scripts basically upgrade your database structure little by little 
from 1.3.x compatible to 1.8.x compatible.
(3) Install a fresh copy of 1.8.2 by following its Installation 
Instructions (To do this you will need to create a fresh database 
temporarily.)
(4) After installing 1.8.2, swap out the fresh database for the newly 
upgraded database (from step #2 above). Either you can rename the 
databases, or just change the database settings in your 1.8.2 dspace.cfg 
so that now points at your newly upgraded database.
(5) Copy over all your DSpace content files (the entire 
[dspace]/assetstore/ folder and all subdirectories) to your new 1.8.2 
DSpace.  This is where all the actual files reside in DSpace.
(6) Reconfigure and re-customize the DSpace 1.8.2 instance (as necessary).

Hopefully this helps. Again, make sure to first perform a backup just in 
case!

- Tim

On 3/13/2012 2:00 PM, Andrew Mwesigwa wrote:
> Dear DSpace technical team,
> What is the solution to failure of data migration. We have a test server
> where we installed a later version of dspace. Our old site is running on
> version 1.3.1. We have attempted to migrate data from the old
> site to the new site but in vain. The system simply generates errors.
> Could it be that the two versions have incompatible database structures?
> Please advise. Is fresh data entry the fall back solution or is there a
> possibility to succeed at data migration.
>
> Secondly what is the best way to upgrade from such an old version as 1.3.1
> to the latest version, having skipped many versions in between? Advise
> will be highly appreciated.
>
>

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to