Change backup path in FishEye?

jmooo
Contributor
April 18, 2012

The FishEye docs on backup path mention: "The location to store the backups. Edit config.xml to change this setting."

But there is no further information, and the word "backup" doesn't even appear in config.xml. Anyone know how to change the backup path so I can set it to where our backup rsync script will see it?

4 answers

1 accepted

3 votes
Answer accepted
seb
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 18, 2012

Although it is obscure, you can indeed change the backup path from config.xml. Config.xml does not contain all valid elements as we default to internal values, so you are better at looking at config.xsd (the xml schema definition which provides the allowed values).

You can add the <path>/full/system/backup/location</path> attribute to the <backup> element to specify the url.

1 vote
David Roberts
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 10, 2013

Hello...just in case someone else needs a sample to clarify further...

<backup><schedule enabled="true"><path>C:\_BAK_\FishEye\instance\backup</path><prefix>fisheye_backup_</prefix><date-pattern>yyyy_MM_dd</date-pattern><frequency>WEEKLY</frequency><time>07:00</time><items><item name="sql"/><item name="templates"/><item name="cache"/><item name="ao"/><item name="plugins"/><item name="uploads"/></items></schedule></backup>

The "path" element is placed inside the "schedule" element.

In my case, the config.xml filre refered to is located in "C:\FishEye\instance".

Regards,

David

1 vote
Douglas Fabretti
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 9, 2012

Hi there.

Just an update about this, the <path> tag should be added right after the <schedule> element - otherwise Fisheye/Crucible will not start with the ERROR:

2012-12-10 11:33:01,958 ERROR - Errors parsing /opt/atlassian/fecru/inst/config.xml:
2012-12-10 11:33:01,964 ERROR - Problem with config file: Error parsing config file (see logs): /opt/atlassian/fecru/inst/config.xml

Hope this helps :)

Cheers,
Douglas Fabretti
Atlassian Support

0 votes
Renjith Pillai
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.
April 18, 2012

But the scheduling section talks about directly changing the path from the administration window itself?

http://confluence.atlassian.com/display/FISHEYE/Backing+Up+and+Restoring+FishEye+Data#BackingUpandRestoringFishEyeData-SchedulingFishEyeBackups

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events