Migrating Confluence between servers
This page describes how to move Confluence between physical servers using the same or a different operating system.
It doesn't cover database migration or upgrading your Confluence version. We suggest you do each of these steps separately.
On this page:
Transferring Confluence to another server
To transfer Confluence to another server you will copy the Confluence home and installation directory straight into an identical external database and user management setup. If your new server is using a different operating system there may be some additional changes at step 6.
- Run the Confluence installer on your new server.
- Shut down Confluence on both your old and new servers.
- If you're using Oracle or MySQL, copy the drivers from your old server to the new one.
Delete the contents of the home directory on your new Confluence server, then copy in the contents of the home directory from your old Confluence server.
- Make sure you’ve put your security-related assets on the new server, namely:
•keys/
•secured/
•secret-config.yaml
Help to find these security-related assets is on the page .Confluence Home and other important directories v8.6.
Make any additional changes required for your environment.
Copy the
<confluence-install>/conf/server.xml
file from your old server to the same location on your new server.- If you use a data source, ensure the data source points to the new database. See Configuring a datasource connection.
- Start Confluence, then head to General configuration > License Details to add your license key.
We strongly recommend you perform a rebuild of your content indices after performing a migration, to ensure Confluence search works as expected.