I wanted to know about how to take backup using Rest API or through Script for JSM.
I have tried to take backup using python script also though automation rule but it gives an authentication error some error codes like 401 etc.
Is there any possibility to take Jira backup using code or through Rest API or there is any limitations for that.
Please provide answers with steps if anyone tried above method and it's running successfully.
Hi all,
For the sake of other users that might find this question: The REST API is not designed to create a complete backup of the site. The ability to automate the backups/restores is something that is planned to be overhauled per CLOUD-6498
From that page:
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.
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.
In the meantime, there are other marketplace solutions available that might be able to help.
Andy
Hi all,
For the sake of other users that might find this question: The REST API is not designed to create a complete backup of the site. The ability to automate the backups/restores is something that is planned to be overhauled per CLOUD-6498
From that page:
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.
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.
In the meantime, there are other marketplace solutions available that might be able to help.
Andy
You want to create backup automatically ? If so, check this KB https://confluence.atlassian.com/jirakb/automate-backups-for-jira-cloud-779160659.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mohamed Benziane
Thank you for the response, but with respect to automation rule i have tried with global authentication rule with API token and web hook url but it's throwing an authentication error. as mentioned in above question
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have two broad options for backup & restore
I am part of Revyz, we have a Jira backup and restore solution, it helps you with more than backup & restore i.e.:
- Backup & Restore
- Configuration Management
- Site Cleanup / Optimization
- Site Analytics
We are working on a similar app for Confluence. If you are interested I can enroll you as part of our beta program!
Also note in either of the cases, backing-up data is relatively easy, but restoring data back is hard, do have plan to restore data back!
Thanks
Vish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As far as I know, unfortunately, taking a full Jira backup using REST API or thorough scripts directly is not a supported method. As it stated in Jira documentation: “The Jira REST API enables you to interact with Jira programmatically. Use this API to build apps, script interactions with Jira, or develop any other type of integration.” As you can see there is nothing said about backup. Here is the full documentation - https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#about
As an alternative, to back up your data you can use any of Jira Backup Manager or a third-party backup and recovery tool that you can find on Atlassian Marketplace.
Btw, I work at GitProtect, a backup and Disaster Recovery software company, and we provide backup for Jira Cloud, Jira Work Management, and Jira Service Management. You can find out more about our solution on Atlassian Marketplace: https://marketplace.atlassian.com/apps/1228719/gitprotect-io-backups-for-jira-cloud?hosting=cloud&tab=overview
Hope this answer will be useful for you,
Daria
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.