Can backups be set to overwrite?

I have a client running Jira version 5.1.4. The other week their webserver hosting Jira / Confluence went down due to a diskspace issue. It was determined that the backups of Jira were consuming a large amount of space as they were not setup to over-write existing backups after XX amount of days. Is there a way to set this up so that they will not run out of drivespace again? Any help is greatly appreciated,


2 answers

5 votes
Renjith Pillai Community Champion Dec 27, 2012

Actually you can.

Assuming you are doing a daily backup:

  • If you need to store just for a week, use E
  • If you need to store for a month, use d
  • If you need to store for a year, use D

interesting, haven't seen this before. Where do we give this option?

Renjith Pillai Community Champion Dec 27, 2012

In services for configuring the automatic backups, if you click edit you get an edit box which accepts custom date formats. Basically it's a tweak using the Java SimpleDateFormat

Awesome. One more "awesome" to make it more than 10 chars!

So I logged into the Jira admin console and simply put in a "e" for the date format, was this the correct way to make the change to the backup retention period?

Renjith Pillai Community Champion Dec 28, 2012

Upper case E for keeping a week's backup

So it will be E-yyyy-MMM-dd-HHmm?

The answer is that you would simply enter 'E'. However, JIRA doesn't appear overwrite automatic backups with the same filename. At least not in my Linux install.

0 vote

There is no option in JIRA using which you can overwrite backups because it uses timestamp in its name. You might want to write a cron job or something to monitor the space or just delete old backups periodically.

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

285 views 38 9
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot