I'm using the following script to try to backup JIRA
https://bitbucket.org/atlassianlabs/automatic-cloud-backup/src/master/Jira-backup.sh
I put in my personal information for the following fields:
EMAIL=
API_TOKEN=
HOSTNAME=
DOWNLOAD_FOLDER=
However, when I run the script it does not return anything. There are no error messages whatsoever and no zip file is created.
I took a look at the script and found the following curl command:
curl -s -u ${EMAIL}:${API_TOKEN} -H "Accept: application/json" -H "Content-Type: application/json" --data-binary "{\"cbAttachments\":\"$INCLUDE_ATTACHMENTS\", \"exportToCloud\":\"$EXPORT_TO_CLOUD\"}" -X POST https://${HOSTNAME}/rest/backup/1/export/runbackup
This is the command that is supposed to start the backup and return something. However, for me it returns nothing.
Am I doing something wrong? Any troubleshooting advice would be greatly appreciated
Thank you
Felipe