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

0 votes
Accepted answer

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 votes

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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,099 views 17 14
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