AnsweredAssumed Answered

How to manage backup/migration from 4.2 to 5.2 ?

Question asked by sgsdev on Jan 11, 2017
Latest reply on Jan 19, 2017 by sgsdev

Hi all,

I'm new to the community and been working on migrating our current version (4.2) to a new one (5.2) also known as 201609-EA. We've been on version 4.2 for quite some time now and has been working fine for us, but because of our recent policy the Java and Tomcat versions are obsolete hence the change to version 5.2.

 

Context :

Installation on a Windows Server 2008 (64 bit)

 

Here's my approach :

1. Fresh new install - version 5.2

     The installation was fairly easy and seamless. I could launch it and create document at ease.

     All documents were stored in the dir.root folder as expected. No issues

     => Fine, no questions, no issues to report.

 

2. Migration from 4.2 to 5.2

    2.1 Backup

          I did perform a backup as instructed Backing up and restoring | Alfresco Documentation  (Cold/Hot backup) both.

    2.2 Restore

          Same as the backup, I did followed the instructions (pretty clear).

    2.3 Alfresco Explorer

          When launching the Alfresco Explorer to check my documents, I still couldn't see anything.

   => Do we need to enable or link something to something ? I couldn't spot a faulty install

   => Are the two versions compatible ? Is the database completely different ? Shouldn't matter, does it ?

 

3. Restoration

    3.1 Install 4.2

            The point here, is to prove that restoration from a previous backup works.

    3.2 Database

             Same thing, I followed the instructions pretty clearly. We do use postgresql as our database and did the follow :

             D:\Alfresco-Community\postgressql\bin>pg_dumpall.exe -username=postgres > 20161213_dump

    3.3 Alfresco Explorer

             Same story, I couldn't launch a thing. No data. Contenstore shown as empty and no documents to display.

    => I would like more instructions, as such the database we're backing up and restoring

    => Doesn't seem the restoration is working at all. I can give you more details on 

 

As anyone hit the same issues ?

Thanks

Sarei

Outcomes