I need to migrate a very large number of repositories to a remote server and am wondering whether svnadmin dump
or svnadmin hotcopy
is the right tool for the job.
The SVN versions would be the same for both servers, however most of the repositories are currently stored on a Windows share, whereas the new server will be Linux-based. All repositories are currently using the FSFS backend.
The SVN book proposes that svnadmin dump
/ svnadmin create
+ svnadmin load
be used for migrations. I am leaning this way because:
- It seems like the widely-recommended method
- It would ensure there were no compatibility issues migrating from Windows to Linux
However it seems like there are significant advantages to the svnadmin hotcopy
approach, namely:
- Vastly reduced code complexity (can do the whole lot with one command, whereas the aforementioned alternative requires several discrete steps.
- It is a lot quicker - a definite plus given 100GB+ of data needs migrating
- Hooks and repository config also get transferred
I've done a quick experiment using the svnadmin hotcopy
workflow which seems to work fine - but I want to avoid little edge-cases which might creep up later.
To that effect, can anyone offer any significant reasons why svnadmin hotcopy
shouldn't be used for repository migrations?