How do I automatically backup Confluence CLOUD instance?

I see you have updated your "unofficial" backup script: https://bitbucket.org/atlassianlabs/automatic-cloud-backup/src/083d9da6f8aea40da073e44455a93b39c1c1dcac?at=master

Does it backup Confluence Cloud and if not, how can we do that?

Currently I can't find any information regarding this and I find it unimaginable as backups ought to be a mission critical feature of any SaaS.

Thanks in advance!

5 answers

Heikki,

As per the page that James linked to, your Cloud application is backed up every 24 hours and stored for 7 days.  You are right that it wouldn't protect you from a user or a hacker "deleting or altering precious data and [only] noticing after 2 weeks", but it is still a "real backup". Backups come in different forms; this is a disaster recovery backup, not a long term archive backup (which, given the number of customers Atlassian has, the size of the instances, and the number of backups they'd have to store for each customer, would be prohibitively expensive and passed on to Cloud customers in the form of increased costs).  A disaster recovery backup service such as the one Atlassian offers is indeed "a standard mission critical feature" for their SaaS offering

If you're concerned about data loss due to user mistakes (or malice), you can take your own full site backups for both Confluence (instructions here) and JIRA (instructions here).  The other option is to pay the extra money for a hosted instance, which should include the kind of long term backups and archive services you want, although you will pay much, much more for a hosted instance, partly for the reasons I mentioned above.

It comes down to what you're willing to pay: Not very much for Cloud, quite a bit to host your own, a lot to have it hosted by someone else.  Each option has pros and cons.

Thank you for the answer. Is it possible to create a script that makes a long term archive backup automatically? From what I can tell, the current Powershell script only makes a JIRA Cloud backup and not Confluence?

Just to clarify, the linked page https://confluence.atlassian.com/jirakb/how-to-automate-backups-for-jira-cloud-applications-779160659.html does _not_ state that backups occur automatically. It merely gives suggestions on how to automate them.

  • Keep in mind that backups can only be performed every 24 hours and are stored only for 7 days, so schedule it accordingly. 

Have you seen this FAQ about data storage (and backups) on Atlassian Cloud?

https://confluence.atlassian.com/cloud/data-storage-faq-744721620.html

Yes, I read it, thank you for your help. For what I can tell it does not offer me a real backup, only a disaster recovery one.

This does not protect me from myself (or from a hacker) deleting or altering precious data and noticing it after 2 weeks.

So it seems Confluence Cloud does not provide real backups?

Hi Heikki,

I haven't done this, but apparently it is possible.  See these pages for examples:

https://confluence.atlassian.com/doc/user-submitted-backup-restore-scripts-195767.html

https://answers.atlassian.com/questions/38058285

(I did a Google search for "script to automatically backup Confluence", and these were 2 of the first results, but there were others you might want to check out.)

It might be worth bearing in mind that pages and attachments are versioned and if actually deleted completely by a user, they end up in the space's trash first - the space admin can restore this content. You can also use permissions to control the ability to delete content in the first place.

However, if you do want to try to automate some kind of complete site backup, you might want to take a look at the Confluence Command Line Interface (CLI) https://marketplace.atlassian.com/plugins/org.swift.confluence.cli/cloud/overview as a way to make this easier to achieve.

If you want to write your own process, you'll need to work the Atlassian Connect API. One approach might be to create some custom webhooks when pages, comments and attachments are created / updated that captures the content. This might be more efficient that a complete site capture.

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

329 views 18 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