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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

64 views 0 4
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