Is there a way to backup a Confluence wiki into version control (GitHub)?

I'm investigating using Confluence as our company wiki.

I've used it in the past and have liked it. My company requires that all wiki content be saved to GitHub.

Is there a way to do this using Confluence? I looked at the add-ons and the marketplace, but couldn't find this.

3 answers

1 accepted

There appears to be no way to do what I need.

I'm looking for a hosted solution, so there would have to be an API to get chang sets and updated pages.

I couldn't find either API.

I don't think such a thing exists to do exactly that but, you can piece your own solution together. I found the Confluence autoexport plugin in the marketplace. You could use this plugin to export to file on change and then have a git client sync the exported files to a repo if you need to upload this instantly.

If your site wasn't to large you could also use rest or xml-rpc to cause an export of a space to xml, or html (would include attachments) and then sync with git. This would be more of a batch bachup.

0 vote

Hello there,

I'm not sure about it, but, you can perform the backup through WebDAV integrated with GitHub.

Hope it point some light for you.

All the best,


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

785 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