最終更新:2013-04-05 (金) 19:24:10 (2655d)  

svnadmin
Top / svnadmin

作成

  • svnadmin create?
    svnadmin create {reponame}

ダンプ

  • svnadmin dump
    svnadmin dump {path/to/svn/repo} > dumpfile
    svnadmin dump {path/to/svn/repo} | gzip > dumpfile.gz

バックアップ

  • svnadmin hotcopy?
    svnadmin hotcopy {path/to/svn/repos} --clean-logs
  • --clean-logs: BDB リポジトリをバックアップする際に、冗長なログを削除して容量を節約

インポート

  • svnadmin load?
    svnadmin create {reponame}
    svnadmin load {path/to/svn/repo} < dumpfile
    zcat dumpfile.gz | svnadmin load {path/to/svn/repos}
  • svnadmin loadは結構時間かかる。

サブコマンド

  • svnadmin crashtest?
  • svnadmin create?
  • svnadmin deltify?
  • svnadmin dump
  • svnadmin help? (h, ?)
  • svnadmin hotcopy?
  • svnadmin list-dblogs?
  • svnadmin list-unused-dblogs?
  • svnadmin load?
  • svnadmin lslocks?
  • svnadmin lstxns?
  • svnadmin pack?
  • svnadmin recover?
  • svnadmin rmlocks?
  • svnadmin rmtxns?
  • svnadmin setlog?
  • svnadmin setrevprop?
  • svnadmin setuuid?
  • svnadmin upgrade?
  • svnadmin verify?