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
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,436 views 110 8
Join discussion

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