March 2010 Entries

Moving repositories/ Creating backups in SVN

Recently, I needed to move some projects around in my SVN and it turned out to be very easy, although it took a bit of googling. This also gives you a way to take file backups of your repositories. Basically, what I needed to do was move one repository into a subfolder inside another repository. To do this, you just need two commands and you also need to do this on the SVN server. You can’t do it from an SVN client. Here are the two commands: svnadmin dump /path/to/repository > filename.dmp svnadmin load –-parent-dir path/to/subfolder repository-name < filename.dmp So basically, the...