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?
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.