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

This widget could not be displayed.

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 Sep 17, 2018 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...

585 views 7 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