cancel
Showing results for 
Search instead for 
Did you mean: 

Migration for Pros

enkidu
Champ in-the-making
Champ in-the-making
Hi mates,

i have to migrate an already installed and configured alfresco system from 4.0.x from the old server to a new server with version 4.2 and a complete different IP adress.
I read a lot about migration but it doesnt seem that easy.

i installed the new server with a complete new password for the database and keystore. is there a step by step tutorial how to migrate an existing repository including the database while using a new Server with a complete different ip and a new password for the keystore and database. (and solr have to work too).

thnx
8 REPLIES 8

Please follow the following steps

At the exsiting server:-
    Disable indexing in the present system, stop and start stop,
    Take backup of Alfresco installation DIR
    Take backup of DB

At the new server :-
   Restore the DB
   Install the new alfresco installation (imp:-do not start the service)
   copy the alf_dir of the old instance  directory to the new inststallation directory (Please copy only 2 directory named "contentstore"  and  "contentstore.deleted") (Do not copy other directory)
   start the new alfresco instance
   You have now upgraded the instance without indexing
   enable indexing at alfresc-global.properties
  restart the service
   You have a upgraded system with solr indexing enabled


  


enkidu
Champ in-the-making
Champ in-the-making
thnx for the answer but i have some additional questions:

1. when u say "restore the db" u mean dont touch the generated postgres folder in dir.root (c:/alfresco/alf_data/postgres) and use the vendors database tool to restore the exported "alfresco.backup" file from the old server?

2. i recognized that in the database there are some entries pointed to the old server IP. will this have some side effects?

3. (sorry for that) how do i stop the indexing? (u mean by editing an entry within the alfresco-global.properties file)

4. can u tell me about what happens when i use new generated passwords for the database and keystore at the new installed server?

bisana
Champ on-the-rise
Champ on-the-rise
1> Yes, you need to restore from the previous instance of Database backup
2> This, my experience says that(you have to cross check) they IP address entry is in the "alfresco-global.properties"
3> In "alfresco-4.2.c/tomcat/shared/classes/alfresco-global.properties" there is section

### Solr indexing ###
index.subsystem.name=solr
dir.keystore=${dir.root}/keystore
solr.port.ssl=8443

to

### Solr indexing ###
index.subsystem.name=noindexing
#dir.keystore=${dir.root}/keystore
#solr.port.ssl=8443


4> Nothing happens when you use new gerenated password(I am not sure about this, take other advice also), I normally keep the same password
Thanks
Note:- If my postings are useful to you, please mark it as useful, it will encourage me to help others



enkidu
Champ in-the-making
Champ in-the-making
thnx helpded me a lot.. so thumbs up for ur comments ;O)

dunno if it is important.. but i read that its important to copy the models to the solr folder.

from the old server location (dir.root/solr/archive-SpaceStore/alfrescoModels) to the new server location (dir.root/solr/archive-SpacesStore/alfrescoModels)

and old location on server (dir.root/solr/workspace-SpacesStore/alfrescoModels) to new location on server (dir.root/solr/workspace-SpacesStore/alfrescoModels)

mitpatoliya
Star Collaborator
Star Collaborator
I think you want to have two different tasks.
First Upgrading then migration.
Do you want to migrate all the customization and content in to the new system?

In Upgradation you will deploy all the customization in to the new server and make sure everything is working properly.
Then you will have to transfer all your contents by migrating your alf_store and database

bisana
Champ on-the-rise
Champ on-the-rise
Hi
Not sure about dir.root/solr/archive-SpaceStore/alfrescoModels, I have to come across it.
Did you copy it also

enkidu
Champ in-the-making
Champ in-the-making
yes i did