Hi Everyone,
We have added following cron expression in Jira to get Backups for every 2 hours.
0 */2 * * * ?
But we are getting backups for every 2 min.
Any help?
Thanks in Advance,
Bunty
And for next time you're looking to make/check a cron, there's some very useful online cron tools to assist - eg: http://www.cronmaker.com/
(or just google something like "online cron" if you forget that site)
CCM
Note that the first position is seconds, then minutes, then hours, so you want:
0 0 */2 * * ?
Hi!
*/2 * * * *
But for what do you need that backup ? Maybe better to evaluate replication of DB ?
Doing XML dumps is one of the most expensive operations you can ask Jira to do. It is really intended to be a migration method and not a backup method.
Atlassian recommends using native database backup technology now, as Gonchik mentioned. Here's the documentation from Atlassian with their official stance on this. Note the box in red.
Hi @Gonchik Tsymzhitov ,
We are getting XML backups for every 1 min with the expression you suggested.
We are having issues with our hardware platform, till the issues got resolved we want to take the XML backups for every 2 hours.
Thanks,
Manikanta
Thanks @Payne ,
It worked.
It looks like you're new here. Sign in or register to get started.