Trying to transfer crucible to new sever
Asked by Philippe Cr?te:

Hi,

We have crucible install on a new server with sql database that work fine. But the probleme is that now we do not have any repo.

How can I transfer the repo from my old server to my new server. Where is the location of the repo

tks


Answers:
author: Felipe Kraemer
body: Hi Philippe,

FishEye and Crucible are distributed in the same package, you just decide to enable one and/or the other by configuring valid licenses. The FISHEYE_INST variable can be used even if you have only Crucible enabled.

You need to move the entire FISHEYE_INST directory, according to the what our documentation recommends:

<https://confluence.atlassian.com/display/FISHEYE/Migrating+FishEye+Between+Servers>

This will ensure that your repositories and their indexes are moved to the new server.

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,  
Felipe Kraemer


author: Philippe Cr?te
body: Ok,

I will try it tonight. the move the folders to my new server.

`<FishEye home directory>``/``config.xml`

* `<FishEye home directory>``/var`
* `<FishEye home directory>``/cache`

`Ill lets you know `

`tks again`

comments: author: Felipe Kraemer
body: Hi Philippe,Just wondering if you have any news?Cheers,Felipe Kraemer


author: Philippe Cr?te
body: That work, :)Tks again for the help


author: Philippe Cr?te
body: Hi,

Can I just tranfer Repository and application caches to my new working crucible. Also we do not use fisheye.

My crucible is work fine on my new server. I connecter the new one to my sql 2008 databases so I see all my project so im just missing my repo.

Thank again of the help


author: Felipe Kraemer
body: Hi Philippe,

If you use the FISHEYE_INST [environment variable](https://confluence.atlassian.com/display/FISHEYE/Environment+variables), copying C:\\Atlassian\\fecru-3.5.4 is not enough because your data (repository indexes, backups, etc) will not be stored inside this directory. The C:\\Atlassian\\fecru-3.5.4 directory contains only the FishEye instance binaries.

If you use the FISHEYE_INST environment variable, you need to copy the directory referred to as FISHEYE_INST to the new server as well, and define a new FISHEYE_INST environment variable in the new server.

Also, regardless of using a FISHEYE_INST or not, but if you're using an external database, please make sure that the database server can be pinged from the new FishEye instance server.

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,  
Felipe Kraemer


author: Philippe Cr?te
body: Tks for the reply.

So i jsut need to do a copy and paste from I old server to my new one.

copy this C:\\Atlassian\\fecru-3.5.4 folders to my new server.


author: Drew Foulks
body: You can migrate the service completely, from one host to another by moving the home directory of crucible. The home dir contains references to the repositories. \<fecru_home\>/config.xml contains repo connection information while \<fecru_home\>/var/cache/contains the repo indexes contains . I don't know if that provides a perfectly tailored solution, but, it certainly allows for complete migration of the crucible service from host to host.


author: Felipe Kraemer
body: Hi Philippe,

As you said you have Crucible on "a new server", I understand you had Crucible working on another server before? If yes, you can look at the *config.xml* of the old Crucible instance in order to check where your repositories were located.

Your best option is to follow this document in order to migrate Crucible/FishEye between servers:

<https://confluence.atlassian.com/display/FISHEYE/Migrating+FishEye+Between+Servers>

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,  
Felipe Kraemer


Tags: fisheye-crucible-administration