Backup & Restore Procedure for a single repository
Usage
Use this KB when you feel the need to restore a single repository back to Fisheye/Crucible (e.g: When you accidently removed the repository cache's folder or triggered a full-reindex by mistake).
Backup
- Backup your <FISHEYE_INST>/var/cache/<REPO_NAME> folder
- Open your <FISHEYE_INST>/config.xml file and copy the repo from it:
<repository name="<REPO_NAME>" description="Repo Customer" store-diff="true" enabled="true">
<svn url="https://ECRNT-71/svn/repo1" path="" follow-base="false" initial-import="none"><auth username="<USER>" password="<USER_PASS>"/>
<symbolic auto-rules="true"/></svn>
<linker/><allow><exclude pattern="src/db/test/" casesensitive="false"/></allow>
<security use-defaults="true" allow-anon="false" allow-logged-in="false" allow-anon-write="false" allow-logged-in-write="false">
<required-groups/>
<required-write-groups/>
</security>
</repository>
Restore
- Restore the repository's backup folder to your <FISHEYE_INST>/var/cache/ folder
- Paste the repository config that you copied before into your <FISHEYE_INST>/config.xml file
PS: Make sure to paste it after the </repository-defaults> tag
Last modified on Jul 31, 2018
Powered by Confluence and Scroll Viewport.