Backup & Restore Procedure for a single repository

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

用途

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 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

最終更新日 2018 年 7 月 31 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.