It is early days for us with JIRA and I would like to backup JIRA frequently as we are regularly making configuration errors and similar. I plan to automate JIRA backups using crontab expressions. The less timing logic I need to put into my scripts the better.
After a backup is made, is the next backup allowed to be made 48 hours from the start of the previous backup or from the end of the previous backup?
How strongly enforced is the 48 hour timeframe? If I start a backup 47 hours, 59 minutes and 58 seconds after the previous backup, will it fail?
48h limit is only for backups with attachments. You script can run data backups more often and once a time do a bigger backup with all attachments for example on a weekend. Data backups can be executed without any delay.
To not care about the exact limit time your script can look at the backup progress or check if a new backup can be executed. So you run script exactly every 48h in cron but the script is checking if backup could start. You probably would get an error when the limit is there, so you script would need to handle it.
Please look (for inspiration) at the sample scripts located here
Thanks for the advice. I was hoping to have zero timing logic in my scripts but it seems unavoidable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.