In JIRA 4.4.5 we have a daily xml backup happening and it gets stored in the Export folder under JIRA_HOME.
Is there a way we can have only a weeks backup and the older ones gets deleted automatically.
You can write a bash script that deletes everything older than say 7days or a month and put it on the cron.
This will help restore disk space
You can write a cron job / batch file for this . Also you can have a look at below useful link to overwrite the jira backup.
https://answers.atlassian.com/questions/119016/can-backups-be-set-to-overwrite
the only way to delete older backups is to write a cronjob.
This response doesn't work as JIRA doesn't appear to overwrite automated backups with the same file name.
do we have any opensource/shared scripts kicking around?
(Wrong post)
existing ticket btw https://jira.atlassian.com/browse/CONFSERVER-2231
This is NOT related to this question. Your link provides the information neccessary for confluence, not for jira.
do a cron with this command:
find /home/jira/application-data/jira/export -name '*.zip' -mtime +20 -exec rm {} \;
It looks like you're new here. Sign in or register to get started.