I have a server where I replaced the hard drive and now I'm rebuilding the server. I have all of the configuration and data of the old subversion setup+repos on the old hard drive. Is there anyway to bring the subversion content over to the new OS+hard drive without having to boot the drive and doing a svnadmin dump?
Copy the full repository filesystem. This should ensure you have not just the database, but any hook scripts and configuration. There are three consideration here:
- Stick with the same version of subversion (or make sure you run
svandmin verifyon the new copy before starting the server. It'll give you peace of mind that the whole thing is still intact.
- Make sure the new repo filesystem is owned by the user running the service (apache, svnserve)