svnadmin dump /path/to/repository > repository-name.dmpIf the dump file is rather large you can compress it with your favorite zip utility. Now you need to get the dump to your new server, so simply transfer the file via sFTP. Once the dump file is on the new machine and uncompressed, you need to set up and load the new repository by typing: If the repository is not created yet, type in
svnadmin create new-repository-paththen load the dump file
svnadmin load new-repository-path < repository-name.dmpOf course, you will need to be in the direcotry where repository-name.dmp file resides. A couple of small things to note – the dump file will be rather large as it represents every commit made on your repository. If your repository is rather large and mature, this file could get quite large. So I think this approach works well for non-large svn repository, and it becomes impractical for very large repositories, e.g. the repositories that are more than a few hundred MB big. Also this method works across platforms so moving from UNIX to Windows or visa-versa is also possible.