Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Having trouble following steps to migrate confluence between servers:

Brian_Pelletier
June 23, 2020

I'm attempting to restore a backup of a failed confluence server to a new install using these instructions:  https://confluence.atlassian.com/doc/migrating-confluence-between-servers-184150.html

I have a postgres dump and a backup of the home directory.  This is all I have to work with.

I've been following these instructions but have been struggling to get it to work.  

Are there more in depth step by step instructions to make this happen?

I've added in bold what I've done so far, this is on Ubuntu 18.04.

 

 

From what I can tell I first needed to import my postgres backup?

I did this via: psql -u postgres -f > dbexport.pgsql then:

 

  1. Run the Confluence installer on your new server. Worked as expected
  2. Shut down Confluence on both your old and new servers Worked
  3. If you're using Oracle or MySQL, copy the drivers from your old server to the new one. No driver needed, using PostgreSQL
  4. 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.  Replaced /var/atlassian/application-data/confluence with our old home directory
  5. Make any additional changes required for your environment. Unsure what to do on this step:
    1. If the path to your home directory is different on the new server open the Confluence_install_directory/confluence/WEB-INF/classes directory and edit confluence-init.properties by changing the line starting with 'confluence.home='.
    2. If you have also moved your database from one server to another you can change the JDBC URL in <confluence.home>/confluence.cfg.xml if you are using a direct JDBC connection or in the definition of your datasource (if you are connecting via a datasource).
    3. Copy the <confluence-install>/conf/server.xml file from your old server to the same location on your new server I don't have this file anymore
  6. Copy the <confluence-install>/conf/server.xml file from your old server to the same location on your new server I don't have this file anymore
  7. If you use a data source, ensure the data source points to the new database. See Configuring a datasource connection.
  8. Start Confluence, then head to General configuration > License Details to add your license key

Thank you!

1 answer

0 votes
Brian_Pelletier
June 23, 2020

This is resolved, went through instructions again and they made sense.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events