0

I'm trying to backup my SVN respository with svnadmin dump command. So I must give it the path of my repository which I don't know how to find it. I'm using svn over http.

How can I find this?

FYI: I'm having TortoiseSVN installed too if that could help.

1

I guess that you ask about svnadmin dump because there is no svn dump subcommand in Apache Subversion.

  • You can use svnrdump tool to get the dump over HTTP(S). You will get the dump of all version-history your user account has access to in the repository.

  • You must have direct access to the repository on disk to use svnadmin (i.e. you have to be an administrator), you can't get a dump via HTTP(S) using svnadmin dump.

NOTE: Subversion repository dump contains revision history only, it does not include hook scripts, access rules or any repository config customizations you might've done.

  • Thank's @bahrep I've edited my question ;) what about users and their passwords ? are they backed ? what are hook scripts ? – mounaim Feb 27 '15 at 15:24
  • @mounaim You have to be server's administrator to get access rules and a list of users and hooks. If you don't have access to the server that hosts your repos then you can't get them unless you use some shared SVN repo hosting which allows you to get them from some kind of web control panel. – bahrep Feb 27 '15 at 15:35
  • Unfortunately svnrdump is unavailable in SVN 1.6 which I'm using – mounaim Feb 27 '15 at 17:29
  • 1
    Firstly, SVN 1.6 is unsupported since 2013. Moreover, you don't need your server to be 1.6, it's just about client-side tools. svnrdump is packaged with all Subversion command-line distributions. Grab one at visualsvn.com/downloads – bahrep Feb 27 '15 at 17:35

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.