Confluence XML/DB backup


Recently I migrated the DB from HSQLDB to Postgresql. My question now is since I have the automated, scheduled XML backup in Confluence, should I regularly back up the external Postgresql? What's the relation between XML and DB? Are they both required for a restore?

Thank you very much.


1 answer

1 accepted

Hi Mike,

XML backup database was meant for testing purposes, and it requires a huge resources to create and restore. Previously, XML backup was reported to be unreliable for huge production instances as it may cause data corruption or data lost after restored. However the reliability has been improved tremendously after 4.x update.

If you choose to use XML backup, then DB backup is no longer necessary as XML backup will backup everything except your plugins jar file. Hence upon restoration, you would need to re-install your plugins, the plugins data is kept by XML.

However, as it require a huge resources to create we usually recommend this production backup method strategy which more reliable and won't slow down Confluence upon creation.

Hope it helps.

Septa Cahyadiputra

Got it, thanks Septa!

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
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

907 views 23 12
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