I'm trying to backup my SVN respository.

My problem: I forgot where I put my repository on the hard disk.

How can I find this?

FYI: I'm using TortoiseSVN if that helps.


Easy answer is to run:

find / -name 'svnserve.conf'

svnserve.conf is a file that should reside in ${REPO}/conf.

Hard(er) answer is to find out if svn has a command to find out what URL you used for you initial checkout.

Edit: for a command line svn client, the way to find the repository root (the place you checked your code out from) would be running this inside your working copy:

svn info

The line in the output that reads 'Repository Root' shows the place you checked out from and thus to the place where you repo is.

Take some time to get familiar with svn on the command line here.

  • This assumes you're using svn://. – David Pashley Aug 17 '09 at 12:49
  • 1
    @David: no it doesn't actually. It works just fine with the repo I checked out through file:// here. It does, however, assume we are using Linux, I realized later :-) – wzzrd Aug 17 '09 at 13:05

You have several different ways of accessing a subversion repository and finding the repository is different for each:


This is the easiest. This means it's on the local machine where the path says it is.


This is using svnserve. Look for the process command line on the remote server and the path specified with the -r option is prepended to the path in the url to find the repository. If there is no -r option then the path in the url is the file system path.


This is svn over ssh. The path in the url is the filesystem location on the remote server.

http:// or https://

This is svn over http or https. You need to find the virtual host in your apache configuration and look for a <Location> section that matches your url path and look for a SVNPath or SVNParentPath config line. This will tell you the location of your subversion repository.

  • I had installed svnserve as a service, and so was able to look in there for the command, in case that helps anyone. – sprugman Jul 27 '10 at 17:51
  • Another option is to try to check if there's a VisualSVN Server installed on the server machine which hosts the repository. – BornToCode Jul 20 '14 at 10:59

In Tortoise, choose the properties option. The top line will list the file path of the repository assuming it is direct file access.


From your top-level SVN checkout folder right click and select Tortoise SVN | Repo-browser. The URL to your repository will be in the box at the top of the window.

$ find -iname .svn

it should find all working copies on host

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.