The process of migrating an instance of Alfresco running on one server to another server follows a similar pattern to the Simple Backup Process, with additional steps of ensuring any configuration is also copied over.
The dir.root property mentioned below is usually defined in 'custom-repository.properties' within the external configuration directory (e.g. tomcat/shared/classes/alfresco/extension). The dir.root is often a directory named 'alf_data' within the directory where Alfresco is installed and will hold both content and full text indexes by default. The dir.root location is also reported in the Alfresco logs when the server is started.
Backup Alfresco Server 1
Stop Application Server (ensures no one can make changes while backing up or restoring)
Export the database to Alfresco dir.root (same location as content and indexes)
Copy configuration directory to dir.root (e.g. cp -r tomcat/shared/classes/alfresco/extension alf_data)
Backup the Alfresco dir.root
Restore to Server 2
Install compatible Alfresco server (typically identical Alfresco version to Server 1)
Do not start the new Alfresco server
Restore dir.root (if the path is different on Server 2, change the dir.root configuration)
Rename the new server's configuration directory (e.g. mv tomcat/shared/classes/alfresco/extension new_ext)
Move the configuration directory from dir.root to the appropriate location (e.g. mv alf_data/extension tomcat/shared/classes/alfresco)
If any configuration references Server 1 explicitly, change these references to Server 2
Import the database from dir.root
Start Application Server
You should now have a new instance of Alfresco on a second server with identical data. If you wish to migrate the data from one type of database to another, one approach is given in Migrating from HSQL.