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".
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
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