Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to automatically backup entire Jira Cloud instance

degan March 22, 2022

Hello,

I am trying to automatically backup our Jira cloud instance (Jira Software and Jira Service Desk).

With the help of https://bitbucket.org/atlassianlabs/automatic-cloud-backup/src/master/backup-jira-api-token.ps1, I was able to download JIRA-backup<timestamp>.zip that contained activeobjects.xml and entities.xml using the endpoints:

https://mycompany.atlassian.net/rest/backup/1/export/runbackup

https://mycompany.atlassian.net/rest/backup/1/export/lastTaskId

https://mycompany.atlassian.net/rest/backup/1/export/getProgress?taskId=$LatestBackupID

https://mycompany.atlassian.net/plugins/servlet/$BackupDetails

In my script, I also cbAttachments:true.

 

The issue I am getting is the downloaded Backup.zip is only 44,145 KB which I thought was way too small!

So to test, I downloaded the backup from the settings page on my account and the backup from there is 8.1GB! 

 

Can anyone tell me why my script-version backup is so small compared to the backup using Jira's UI?

1 answer

0 votes
Danny Grenzowski _Rewind_
Atlassian Partner
March 22, 2022

Hey @degan

 

If you are open to an alternate approach to automatically backup your entire Jira Cloud instance, just a heads up that there is now a simple app to do it. Set up is quick, easy, and there is NO code/scripting required, or managing individual files. My team at Rewind built it, and we're in a private Beta now: https://rewind.com/products/backups/jira/


If you'd like to join, let me know. Thanks,

 

Danny

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events