Fisheye + Crucible + Crowd : database usage


We plan to install Fisheye to view and manage git repositories, and use also Crucible for code review.

We will use Crowd for single sign on. Crowd will mostly authenticate user with our corporate LDAP but we will have some local crowd users.

For each of the product, what is the role of the database:

- fisheye. indexing? other? if the database crashes can we regenerate it from the git repositories (reindexing maybe?)

- crucible : same question as for fisheye

- crowd: storing local crowd users? other?

3 answers

1 accepted

FishEye and Crucible share a database, so only one backup.

Crucible stores all of your code reviews including comments and feedback. This is important historical information, particularly if you have any audit requirements for performing code reviews. There are also a number of user configuration settings.

FishEye includes an administrative option for scheduling backups to disk, all you need to do is copy it off or configure a remote drive. Doing backups is definitely the easier solution in this case.

Joe Xie Atlassian Team Jun 07, 2012

Fisheye's index is not stored in the database, nor are the repository names and its configuration. In Fisheye, the database is used for storing user information (such as login, watches, and display preferences such as the diff options when viewing a diff).

Crucible uses the same user information as Fisheye, and also stores its review comments and other metadata in the database.

If you simply backup the database, it will mostly work, except that reviews with uploaded patches and/or attachments will be missing (those are stored on disk).

Backing up both the database, and home directory (set as FISHEYE_INST) will be the most comprehensive. You can also take advantage of the built-in backup feature, which will backup everything required to recreate the instance.

In general for any Atlassian product it is advisable to take back up of both Database and the Home directory.

Please disregard the downvote - I accidentally clicked it and I can't undo it :( I'll replace your karma.

Thanks for your answers.

If I use the built-in backup feature, does it also take care of backing up the git repositories?

If not, I guess I need to backup those git repositories separately. But in such a case there is a risk of desynchronization between the fisheye backup and the git backups. What is the best practice deal with that ?

Actually, the fisheye documentation seems to provide the answers. Sorry for the noise.

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

288 views 38 9
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot