In here you find sample backup scripts for taking automatic Cloud backups.
Kindly notice that the scripts in here are not officially supported and this project is currently community maintained. Make sure your read and understand what the provided scripts are doing before executing them.
For details see How to Automate Backups for JIRA Cloud applications.