Link a new installation of Confluence to exisitng data

Our installation of Confluence (on a Linux server), has died. Not being a Linux user, I am installing Confluence on Windows 2012. How do I link the new installation to my exising database (on MS SQL)

1 answer

1 accepted


First you need install the same version of Confluence that you had in your Linux machine. The next step is copy the entire <home-folder> from your Linux box.

You need to take a database backup from your Linux machine, and import it your MS SQL under Windows 2012, because Confluence can't share databases, which means that you can't use two Confluences that has the same database.

When you have everything in place, you need to edit the to point to the backed up <home-folder> that you took from Linux, and edit the file called confluence.cfg.xml that you will find inside of the same folder. You need to edit the "hibernate.connection.url"> line, making sure that you have the connection string for your database that is inside of your Windows Machine.

This should do the trick.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

274 views 2 10
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