Having trouble disabling XML backup [jira 6.1.5]

Moinul Rony March 25, 2014

Hi,

We have recently upgraded to JIRA 6.1.5. We faced some performance issues effecting production so we are slowly improving performance. As a step in this process we are trying to disable XML backup by adding
"jira-config.properties" file in jira home /usr/jira/ directory with the following key-value pair
jira.autoexport=false

We also tried to disable autoexport from
/jiraserver/atlassian-jira-6.1.5-standalone/atlassian-jira/WEB-INF/classes/jpm.xml

<property>

<key>jira.autoexport</key>

<default-value>false</default-value>

<type>boolean</type>

<admin-editable>true</admin-editable>

<sysadmin-editable>true</sysadmin-editable>

</property>


But jira is still doing the auto export as we can see from the log

2014-03-26 16:03:20,549 QuartzScheduler_Worker-2 INFO ServiceRunner Backup Service [jira.bc.dataimport.DefaultExportService] Data export completed in 162879ms. Wrote 8297397 entities to export in memory.

2014-03-26 16:03:20,552 QuartzScheduler_Worker-2 INFO ServiceRunner Backup Service [jira.bc.dataimport.DefaultExportService] Attempting to save the Active Objects Backup

2014-03-26 16:03:20,785 QuartzScheduler_Worker-2 INFO ServiceRunner Backup Service [jira.bc.dataimport.DefaultExportService] Finished saving the Active Objects Backup

Please help!
- Rony

4 answers

1 accepted

0 votes
Answer accepted
Moinul Rony March 25, 2014

Ok, After enabling the autoexport admin view settings in jpm.xml I was able to delete the backup server from
http://jiraserver/secure/admin/ViewServices!default.jspa

1 vote
MattS
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.
December 17, 2014

auto.export controls whether an export is made before restoring from another backup I think

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 17, 2014

And the upgrade - it tries to do an xml export when you point a new Jira at an old database...

0 votes
Moinul Rony March 26, 2014

Yup, thats what I did, the only way to disable seems to be "deleting" the services called Backup. from that URL.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 25, 2014

Why not just turn it off in the admin configuration instead of messing around with code?

Suggest an answer

Log in or Sign up to answer