Is there an easy way to temporarily point to a different database?

I am trying to look at a DB backup (of a separate instance) of Confluence. Can I do this by simply changing the confluence.cfg.xml file or is there a more detailed process?

I only want to do this temporarily so that I can recover some data, I will then point back to the initial DB.

1 answer

0 votes

You should be able to change the url and then swap it back, but you could have problems.

Confluence has caches and indices, so you'll probably end up with a corrupted index (so re-indexing after each change is probably worth doing), and if your confluences have different plugins, you may have some issues with them poking data into each database automatically.

Other than that though, your databases will be fine (barring extraneous plugin info).

Personally, I'd not bother - I'd set up a second Confluence to read the backup DB - your license entitles you to a developer license you can use, and you can set it up by almost copying the install for the main one wholesale.

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...

264 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