Re: [問題] svn 更換 repo 的 location
: 我其實只是要換一台 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
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 4 之 4 篇):