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

This widget could not be displayed.

David,

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 confluence-init.properties 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.

Cheers,
WZ

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

464 views 6 6
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