Closed mattock closed 5 years ago
Fixes https://github.com/mattock/automatic-cloud-backup/issues/19 for JIRA at least. As said, Confluence backups seem to still work with cookies.
Thanks @mattock , i try to test this PR this week. I have some urgent work here.
@dzschille I'll merge this as-is. We use it in production, it works and does not affect any existing functionality. If there are any issues with it we can fix them later.
Thanks! I'm too busy at the moment.
This PR imports Atlassian's new backup-jira-api-token.sh script as-is, then add supports for loading the parameters from the config file (e.g. /root/.backup.sh.vars) and then makes timestamping the output file optional.
The backup-jira-api-token.sh script does not yet support disabling download of attachments using variables / command-line switches, but adding that feature would be easy.
The old JIRA backup option is still present in backup.sh, but that should be ripped off later as it does not work. Confluence backups still seem to work with the old script, though.