Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

changing backup location

John W May 29, 2018

Is there any way in JIRA Server of setting a custom location for backups. As default it's 

/var/atlassian/application-data/jira/export

Are there also any options that can remove any files after a set amount of time, e.g. a week, to stop the drive filling up?

Failing this, is it safe to rely entirely on database backups and a filesystem backup for the JIRA server. i.e. do I actually need these XML backups on a production system>

Many thanks,

John

2 answers

1 accepted

1 vote
Answer accepted
Gary Pasquale
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 29, 2018

Hi John,

There is no way within the application to change the default location for backups.

There is no option within JIRA to remove files after a set time, although I would use a scheduled script at the server level that could perform that housekeeping task.

For production use, it is strongly recommended that for regular backups, you use native database backup tools instead of Jira's XML backup service.

We run our production system (11k + users and 1.2m issues) without using the XML backup facility.

XML backups are useful when migrating instances or projects. Or for creating dev and test instances from production. We run a manual XML backup as and when we need it.

Regards,

Gary

Caio Nóbrega
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 5, 2018

Hi Gary,

do you know if there is there a config file where this info is stored?

My current installation is showing that backups are being stored in "/data/atljira/sharedhome /export", there is a space in that "sharedhome " piece and it's causing me trouble at the server level.

Thanks in advance.

Caio

0 votes
Devesh Chanchlani
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 3, 2019

The only quick way to solve this problem could be to either create a symlink "/var/atlassian/application-data/jira/export" pointing to the location of interest. (need to be tried)

 

The second option would be to write a cron-job which follows the scheduled JIRA backup automation job, and copies the files/folders of interest to desired location.

And both the approaches are sad, its hard to believe the stuff is not configurable.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events