I want to migrate Confluence 4.3.7 to 5.3.7 and change Databases


Currently running Confluence 4.3.7 with MS SQL in production with a medium sized Knowledge base connected to AD with around 20 users. Can anybody recommend the best way to migrate over to Postgres? I have been running 5.3.7 with Postgres in the backend in Development for some time and am finding it much better. Is there a recommended path? Database first? Import/Export? Abandon all hope? 

Thanks in Advance.

4 answers

1 accepted

This widget could not be displayed.

Hi Luke,

As your instance is Confluence 4.3.7 with MS SQL Server and you are looking to migrate to another database and then upgrade to Confluence 5.3.7, you need to generate XML backup from your Confluence 4.3.7 and import it into another Confluence 4.3.7 with Postgres. Once you can confirm that your Confluence 4.3.7 is up and running, then you need to create backup from your <confluence-home> and database and then proceed to upgrade to Confluence 5.3.7 smile  In the other word, you need to migrate your database first.

Following documentations are about migrating to another database and upgrade:

Hope it helps.




This widget could not be displayed.

Hi Saleh, 

Great this is exactly what I wanted to know. Appreciate your help will give it a go.
Many Thanks.

You are most welcome Luke :-) Don't hesitate to contact Atlassian Support if you have any questions or concern.

This widget could not be displayed.

My recommendation should be that never switch the DB and update Confluence at the same time.
If you have any error you don't know if it due to the new Confluence version or due to the DB change.

I would first change the DB and let the instance run for some days and look at the loga for any errors. Because you on the same version you know if the log entry is normal or not.

When you think all is fine, than update Confluence.


This widget could not be displayed.

Hi Tim, 

Understood thanks.

I will follow Saleh's recommendation but maybe leave a gap of about a week after changing DB's before attempting an upgrade. 


Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

81 views 10 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you