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
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,574 views 26 14
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