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

Fisheye + Crucible + Crowd : database usage

Hi,

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

1 vote
Answer 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.

Chii 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 Sign up to answer
TAGS
Community showcase
Published in Statuspage

New feature: Slack notifications for Statuspage

We're excited to announce the release of a long-requested feature on Statuspage. Now visitors to your status page can subscribe to get notified in Slack when you report an incident or maintenance. Th...

51 views 0 8
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