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,

Giuliano

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,691 views 25 10
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