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.

mounaim
  • 109
  • 1
  • 4

1 Answers1

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.

bahrep
  • 687
  • 1
  • 9
  • 27
  • 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 https://www.visualsvn.com/downloads/ – bahrep Feb 27 '15 at 17:35