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
do a cron with this command:
find /home/jira/application-data/jira/export -name '*.zip' -mtime +20 -exec rm {} \;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
do we have any opensource/shared scripts kicking around?
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.
This is NOT related to this question. Your link provides the information neccessary for confluence, not for jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This response doesn't work as JIRA doesn't appear to overwrite automated backups with the same file name.
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.