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
Note that the first position is seconds, then minutes, then hours, so you want:
0 0 */2 * * ?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
*/2 * * * *
But for what do you need that backup ? Maybe better to evaluate replication of DB ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.