Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Config automatic backup

Hi, I am using jira software

in system > indexing > index recovery is on and schedule on every day on 9PM

now,

1. /opt/atlassian/jira/jira-home/export directory is only for backup?

2. can I delete all files in /opt/atlassian/jira/jira-home/export directory? or cleanup except the last file?

3. can I tell jira to automatically delete older than one week's backup files?

2 answers

1 accepted

1 vote
Answer accepted

Hey @Farhaad_n 

This one is "system > indexing > index recovery" different from backup. This setting is for index recovery.

Backup automation will be configured in this settings Administration > System > Advanced > Services

1. /opt/atlassian/jira/jira-home/export directory is only for backup? --> Yes it is location where all backup files are stored as xml

2. can I delete all files in /opt/atlassian/jira/jira-home/export directory? or cleanup except the last file? --> you can delete the old backup files, dont delete all files. Based on your company backup & retention policy you can delete the old backup files. Usually backup files have name of the day, time when they were generated so check the old ones and if they are not required for your archives delete them.

3. can I tell jira to automatically delete older than one week's backup files? --> From Jira UI we cannot tell to automatically delete those files, you may have to write a bash script to do that for you. Please check out this https://confluence.atlassian.com/doc/user-submitted-backup-restore-scripts-195767.html (this link is for confluence, but it gives an idea to write a script and do automation)

Regards,

Vishwas

If you're on a Unix-like system, then take a look at "logrotate" - one line in those settings can completely automate backup removal

Like Vishwas N M likes this

Hi @Farhaad_n ,

Yes export in Jira server is a place for Automated backup archives. It completely depend on you and your companies policy how old backups you wish to retain on your server.

Read more here: Jira application home directory 

For your 3 requirement, refer here which has some suggestions you can explore.

Kind Regards

Utkarsh

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

463 views 3 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you