How do I recover data when old database assumes users are in JIRA?

I am trying to recover an old Confluence database and have got as far as determining that the database was created using Confluence 5.6.4. When I install v5.6.4, it successfully loads the database (i.e. it doesn't crash or complain about the build used to create the database) but the old database assumes that users will be authenticated via JIRA. Suddenly I have no way to login to Confluence so can't export the data or even view it. The JIRA server has been moved recently so I doubt that the information held, in Confluence, about the JIRA instance is correct.

It seems that no-one predicted this problem or they would have exported the data from Confluence before moving the servers. How can I override the user configuration to get into the database and export the data?


2 answers

1 accepted

1 vote
Answer accepted

First step is to get a Confluence admin account to get in - see

Then you'll be able to change the directories around.  I'm not sure you'll be able to rescue all of it if the JIRA has gone away, but you should at the very least have admin access and a full list of users and groups in the database cwd_user and cwd_membership tables (they cache the remote directory data)

Thanks, Nic. That did the trick. Go knows how long it would have taken me without your help. Although the instructions are written assuming H2, they work fine with HSQLDB.

One more piece of information: v5.6.4 of Confluence uses an HSQLDB rather than an H2 database. Not sure if this will affect the solution or not.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Tuesday 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...

183 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