Automatic backups for Atlassian OnDemand

Joern Barthel

Atlassian OnDemand (the low-priced, managed cloud-offering for JIRA and/or Confluence) had the functionality to do backups via self-service for quite a while. Before the introduction of this "Backup Manager" functionality, backups (aside from the ones done by Atlassian internally of course) were only available through the tedious process of opening a support ticket.

What's still missing though (for almost a year now) is the functionality to automate this process using an API as well as a really reliable way of actually downloading the backups created by the Backup Manager.

Both can be fixed with a little bit of scripting of course. Looking closer at the HTTP requests happening when you actually click on the "Create Backup" button reveals that something akin to an API already exists: a POST request to a subpath/obm/1.0/runbackup.

There are three unfortunate caveats to using this API though:

These factors aside you can use the script today to automate your Atlassian OnDemand backups. Questions? Ask the Atlassian Experts!

Joern Barthel

Joern entwickelt, debugged und entwirft Software seit über zehn Jahren. Bei den kreuzwerkern ist er für Architektur, neue Technologien und Konzepte zuständig. Das Interesse des Diplom-Informatikers gilt dem Einsatz von funktionalen Programmiersprachen und der Architektur…

Mehr Lesen ...