windows中svn伺服器遷移方法

來源:互聯網
上載者:User

首先停掉原來的svn server
然後dump你的源svn伺服器資料
#svnadmin dump D:\svn\snsxiu > D:\svnbak\snsxiu.dump
將dump後的資料檔案snsxiu.dump拷貝到新的svn伺服器
在新的svn伺服器上
#svnadmin create D:\svn\snsxiu
#svnadmin load D:\svn\snsxiu < D:\svnbak\snsxiu.dump
啟動新的svn伺服器
在你的用戶端,更換svn伺服器的地址。
如果是windows,右鍵SVN的菜單中會有Relocate選項(TortoiseSVN),填入新的地址確認即可。
如果是linux,使用命令svn switch
#svn info
尋找出原來svn的URL,更換為新的
#svn switch –relocate svn://old-svn-server/snsxiu svn://new-svn-server/snsxiu

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.