Automatic backup Confluence Cloud
Asked by Roman Tyschenko:

Good day!

Can I setup automatic backup all information in Confluence Cloud? Do it manually - uncomfortable.


Answers:
author: Dario B
body: Hi [@Roman Tyschenko](/t5/user/viewprofilepage/user-id/3469086) ,

You can find a bash script to automatically backup Confluence at the below url:

* <https://bitbucket.org/atlassianlabs/automatic-cloud-backup/src/master/backup-confluence-api-token.sh>

However, as mentioned in the [How to Automate Backups for JIRA Cloud applications](https://confluence.atlassian.com/jirakb/how-to-automate-backups-for-jira-cloud-applications-779160659.html) KB page:
> The content on this page relates to platforms which are not supported. Consequently, Atlassian Support **cannot guarantee providing any support for it** . Please be aware that this material is provided for your information only and using it is done so at your own risk.

I hope this helps.

Ciao,  
Dario

comments: author: Roman Tyschenko
body: Hi [@Dario B](/t5/user/viewprofilepage/user-id/502402) ,

A lot of thx!


author: Dario B
body: You are very welcome. Let me know if you have any question on how the script works :)

Have a nice weekend.


author: Seth A Dowd
body: Hi [@Dario B](/t5/user/viewprofilepage/user-id/502402) I attempted using one of your backup scripts in GitBash but it just seems to timeout endlessly.

I am using the API token to authenticate and it seems to get through all the commands ok but then just endlessly runs the sleep command. Any help would be appreciated to getting an automated backup of Confluence running.


author: Dario B
body: Hi [@Seth A Dowd](/t5/user/viewprofilepage/user-id/2630656) ,

Please notice that, at this current point in time, I don't even know which one of the scripts you are using so it is a bit difficult to try to help.

However, if you are using GitBash I assume you are running the Bash script in Windows, but if that's the case why don't you just run the powershell ones?

I am saying this because I don't know GitBash at all and I am not sure it can run the bash scripts without issues.

In the same repository you also have python and powershell scripts that you can use. Have you tried them? Do they all fail as well?

Please provide more details on this issue.

Cheers,  
Dario


author: Dario B
body: [@Seth A Dowd](/t5/user/viewprofilepage/user-id/2630656) ,

If you use the powershell script instead, and you are stuck in an endless loop, this seems to be a known issue:

* <https://bitbucket.org/atlassianlabs/automatic-cloud-backup/issues/30/confluence-powershell-script-may-trip-into>

As written in there, please refer to below community thread for a working version of the script:

* [Contribute code to the official scripts for Atlassian cloud backups.](https://community.atlassian.com/t5/Jira-Software-questions/Contribute-code-to-the-official-scripts-for-Atlassian-cloud/qaq-p/1288516?utm_source=atlcomm&utm_medium=email&utm_campaign=mentions_reply&utm_content=topic)

Cheers,  
Dario


author: Johannes Schneider
body: Is there an EASY way to automate backups? no scripts, etc. just clickyclicky for the rest of us? ;-)


author: Dario B
body: [@Johannes Schneider](/t5/user/viewprofilepage/user-id/1671659) ,

Have you seen this:

* [Automate online site-backups for Jira and Confluence without programming](https://community.atlassian.com/t5/Jira-articles/Automate-online-site-backups-for-Jira-and-Confluence-without/ba-p/1271317)

Cheers,  
Dario


author: Mark Wiesenthal
body: Hey [@Dario B](/t5/user/viewprofilepage/user-id/502402)

Can you tell me if it is possible to restore only specific Confluence spaces or Jira projects after downloading the backup file with your scripts? To be maybe more precise, what is the file format of the backup file and is it therefore possible to target the backup of specific projects/spaces within this backup file?

Best regards,

Mark


author: Maria Korolenko
body: [@Johannes Schneider](/t5/user/viewprofilepage/user-id/1671659)

We at Rewind are considering building automated backups for Confluence and Jira Could. You'll be able to backup and restore your Confluence workspace.

I'm wondering is it what you want to see in Confluence automated backups? I would love to hear from you!

If you're interested in joining our waitlist, feel free to register <https://rewind.com/products/backups/confluence/>

comments: author: diego
body: are you still considering it ?


author: Dario B
body: [@diego](/t5/user/viewprofilepage/user-id/4865774) As mentioned in:

* [CLOUD-6498 - Automatic Backup generation in Backup Manager](https://jira.atlassian.com/browse/CLOUD-6498)  
  > Automatic backup scheduling IS on our list, although not in the very first horizon, as we are looking to completely overhaul the backup/restore experience. Especially for those that have very large datasets. With that said, there will be a mechanism available to automate this yourself, until we build that functionality into the UI.
  > * <https://community.atlassian.com/t5/Backup-Restore/gh-p/backupandrestore>
  >
  > Click the link, click **Send request to join**, and we should get you in within 24 hours to review our strategy and provide feedback as we go.

Then, if you visit the link, you can see that we already released Backup for Confluence under Early Access Program and are on the way to releasing Backup for Jira.

For further details see:

* <https://community.atlassian.com/t5/Backup-Restore-articles/Early-Access-Program-is-here-Learn-More-amp-Sign-Up/ba-p/1855565>
* <https://community.atlassian.com/t5/Backup-Restore-articles/Survey-Value-of-Backup-and-Restore-Apps-built-by-different/ba-p/1947264>


author: Danny Grenzowski _Rewind_
body: It is live!

Check it out on the app marketplace: [https://marketplace.atlassian.com/apps/1228099/rewind-backups-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1228099/rewind-backups-for-confluence?hosting=cloud&tab=overview)

Danny from Rewind


Tags: cloud

confluence-cloud