On Thu, Mar 22, 2018 at 1:49 PM, <[email protected]> wrote:

> Is there a possibility to downgrade Dspace 6.2 to Dspace-CRIS 5.8.1 ?
>

It would definitely be a completely or partially manual process. You can
see the upgrade migrations for postgres here:

https://github.com/DSpace/DSpace/tree/master/dspace-api/src/main/resources/org/dspace/storage/rdbms/sqlmigration/postgres

To downgrade, you would need to apply them "in reverse".

Of course, if there are any destructive operations, there's no way to
automatically reverse those. There's such an operation in the very first
migration: DROP VIEW community2item; You would need to find CREATE VIEW
community2item in one of the previous migrations (in this example, it's in
V1.1__Initial_DSpace_1.1_database_schema.sql).

I checked whether Flyway, the DB migration engine DSpace uses, supports
downgrades. It seems it does, subject to the limitations I mentioned. I
haven't tried it though and they mention it's available only in their Pro
edition which I don't have any experience with. In any case, the Flyway
route would only be a partial automation of the process.

https://flywaydb.org/documentation/faq#downgrade

Should you manage to downgrade the database successfully, you would
continue as per normal DSpace 5 installation instructions. Then you would
follow the DSpace-CRIS 5 installation instructions.



Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to