cancel
Showing results for 
Search instead for 
Did you mean: 

Migrating and replicating server

vikhoho
Champ in-the-making
Champ in-the-making
Hi

I have an alfresco community server which I need to migrate to another server.
The migration process will take some time due to large contentstore and slow connection between old and new location.
In order to minimize downtime my idea was the following:
1. Stop server 1 and backup alf_data and db.
2. Start server 1.
3. Restore backup to server 2.
4. When server 2 is ready, run replication job on server 1 to server 2 transferring any content uploaded to server 1 since point 2.

I quickly noticed that this was not possible due to "Transfer to the same repository not allowed".

Any other ideas on how to accomplish this?

Thanks,
Viktor
1 REPLY 1

rjohnson
Star Contributor
Star Contributor
Do 1 - 3 then.

Stop your production server, do an incremental back up the new folders in alf_data (they are created by datetime) and your index folder and full backup your database.

Copy the new stuff across and restore it and restore your DB

Fire up your new server.

This only works if you can keep server 1 down during this "catch up" the elapsed copy times should be much lower but that may of course still be impractical for you.