I want to backup jira automatically?
1. For example, I want to bakcup it on 2:00am everyday to /home/jira. But I only see the Backup Service of Service in JIRA Admin, I can only edit the data format and delay two text.
2. At the same time, it can't backup jira interval 10 minutes when I set delay for 10 minutes, because I can't see the backup file in jira_home/exports after 10 minutes or 20 minutes even if I restart jira server or jira service.
1. For small Jiras, it's ok to use the automatic backup to xml, but as you say, you can't exactly schedule it neatly.
You would be far better off moving to the recommended backup method - use your database's standard tools to take a backup of the database. You'll be able to schedule those for when you want them.
2. What's the reasoning behind backing up every 10 minutes? That's far too frequent for internal backups, you're stressing your server for no benefits. Most people backup nightly, or sometimes half-daily (but if they're that concerned about data loss, they quickly move to database backups)
Because it hasn't been written that way. The basic backup service simply reuses the "repeat on a loop" scheduling that was built for other services. You can trigger a backup by hand as well, but there's no need for anything more advanced because if you genuinely need something more clever, you really should be using the database tools as I recommended before (see https://confluence.atlassian.com/display/JIRA/Backing+Up+Data)
As a best practice we recommend to use the database native backup tools. Per our documentation "When JIRA is in use, XML backups are not guaranteed to be consistent as the database may be updated during the backup process. JIRA does not report any warnings or error messages when an XML backup is generated with inconsistencies and such XML backups will fail during the restore process. Native database backup tools offer a much more consistent and reliable means of storing (and restoring) data while JIRA is active".
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs