Re: [問題] svn 更換 repo 的 location

看板Linux作者 (tan2)時間17年前 (2009/02/27 14:59), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
: 我其實只是要換一台 svn server : 但是希望保留 revision history : 如果有除了 svn switch 以外的方法也請賜教 The easiest way is to copy your old repository from server A to B. $ scp -pr A.net:/home/user/repo B.net:/home/user/repo Then checkout a new sandbox from server B. This method will fail if someone modifies the repository (checkin) when scp is ongoing. In this case, you can stop the svnserve daemon on server A and re-run scp again. A more advanced way is to use 'svnadmin dump' on server A and 'svnadmin load' on server B. This method is bullet-proof and is preferred in the enterprise environment. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 69.234.112.12
文章代碼(AID): #19fuz1BI (Linux)
文章代碼(AID): #19fuz1BI (Linux)