Subversionのリポジトリ移行

サーバを移すとか、そういうときに。

  • svnsync init destiation_url source_urlでバックアップ(Subversionリポジトリのバックアップ
  • svnlook uuid /path/to/source/pathで旧リポジトリのuuidを取得
  • svnadmin setuuid /path/to/destination/path source_uuidで、新リポジトリのuuidを先ほど調べた旧リポジトリのuuidで上書きする

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <img localsrc="" alt="">