I've recently learned that Atlassian doesn't provide any official support for automated backups of Confluence and Jira Cloud applications. However, the support team has referred me to these two options discussed here...
Upon review of these two options, I'm having trouble making use of them for the following two reasons.
Can someone please help confirm if my understanding above is correct? Hopefully I'm missing something that will allow me to make use of one of these options to backup my Confluence and Jira sites.
Thanks for your help!
Both documentation are ways to generate and get the backup, using the script version you can automate the download to your local file system or you can simply add a get request to get the file after its generated on the script. The Automation for Jira version only triggers it, for you to download at a later time. In both situations, using a script that involves running locally, which you can add a Cron job to trigger it at certain intervals as long as your machine is turned on seems better.
Although, the system is not perfect, but i'm very sure given the limitations other users have found ways to trigger and save locally or push to AWS S3 for the downloaded backup file. The reason that you cannot really too much on this API is because its not official and when it's not official, it is subject to different changes at any point in time. However it is still useful in order to grab the data required automatedly.
Unfortunately the restore from backup for Confluence won't be available in regards to your first reason, if you have both Jira and Confluence. it's a very tricky and complicated process to restore confluence alone with the Jira Instance active. So if the concern is directed towards confluence, the scripts will indeed help perform an entire backup but it can't perform a backup of a space by space export, that's a limitation. Please also note that the script suggests a way to backup, automating it further is up to you!
Thank you for your reply, however it is still unclear how to do automated backups of confluence cloud when you also have jira. Am I missing something? There appears to only be an option to back up the site, however you cannot restore it if you have jira.
I'm sure many companies that use confluence cloud with Jira have come up with a solution to solve this, so I'm surprised I couldn't find any help articles outline and how to do it. Can someone please share how they are doing this?
Just brainstorming some ideas, I imagine a solution could involve either backing up the spaces individually, however I don't know how to do this.
Alternatively, can I back up the entire site and then restore it on a completely separate demo instance without jira, then export the spaces, and then import those spaces into my confluence site with jira.
Are either of these approaches on the right track?
Thank you for your help.
Hey @Mark Winston
Yes that's the only option with the API endpoint to backup everything. it seems you've gotten the alternative while brainstorming with the backup restore to another confluence only instance; besides that approach. If you can code, you can use a Web UI Automation module like Selenium and create an automated script that will download the Space by Space export without any Atlassian API (this is another approach). However that means, you will need to know and code the script that will do such.
Hi @Mark Winston ,
A possible workaround is to restore the backup into a temporary Confluence Server instance and then use the Confluence Cloud Migration Assistant to migrate the needed spaces into the desired instance.
Another option is to use the Confluence Command Line Interface (CLI):
I know this is not optimal and I am thinking on other possible ways to do to.
Thanks @Dario B - since it sounds like you've looked at these options, what would be your preference/recommendation for setting up automated backups 1) Using these bash Scripts or 2) using the Confluence Command Line Interface (CLI) tool? Have you looked at them both? Thanks for any advice you may have. Don't worry, I'm not looking for Atlassian's official stance on this. I'm just looking for your personal opinion based on your experience using these tool to help steer my efforts :-)
Hello @Mark Winston ,
Let's start by saying that it depends a bit on the involved scenario. :)
However, generally speaking, being a paid tool Confluence Command Line Interface (CLI) provides more functionalities and flexibility: you can export all spaces or only a subset of them and you have tons of other commands/actions available to manage or migrate your Confluence, as listed in below page.
However, there are also scenarios in which the scripts are more than enough:
I hope this helps.
Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond. A long time favorite, Team Cale...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events