mattock / automatic-cloud-backup

19 stars 19 forks source link

Fix JIRA backups #21

Closed mattock closed 5 years ago

mattock commented 5 years ago

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.

mattock commented 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.

dzschille commented 5 years ago

Thanks @mattock , i try to test this PR this week. I have some urgent work here.

mattock commented 5 years ago

@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.

dzschille commented 5 years ago

Thanks! I'm too busy at the moment.