Questions tagged [svnadmin]

svnadmin is the administrative tool for monitoring and repairing your Subversion repository.

The svnadmin program is the Subversion repository administrator's best friend. Besides providing the ability to create Subversion repositories, this program allows you to perform several maintenance and repair operations on those repositories.

Reference:

172 questions
61
votes
9 answers

How do I migrate an SVN repository to another SVN repository?

Is there a simple way to copy a directory from one repository into another repository with copying all of the history?
Jakub Arnold
  • 79,807
  • 86
  • 218
  • 314
43
votes
2 answers

How do I dump one project out of an SVN repository which contains multiple projects?

I am working with an SVN repository with many projects. I need to move a few of the projects out of that repository into individual repositories, one for each project, keeping the history. I've been able to use svnadmin dump to dump the entire…
Stacey Richards
  • 6,338
  • 7
  • 34
  • 40
39
votes
1 answer

SVN move single directory into other repository (with history)

Related question: Moving repository trunk to another’s branch (with history) I know that one can dump a complete SVN repository with history and load it into a user-defined (sub)directory of the target repository using: // in source repo > svnadmin…
AndiDog
  • 62,237
  • 17
  • 152
  • 196
38
votes
1 answer

How do I fix a repository with one broken revision?

My home server had a hard drive failure. Once I realized the disk was going, I logged in and did a straight copy of my repository, which contains multiple projects. However, since the disk was failing, one of the revisions is broken: $ svnadmin…
unwind
  • 364,555
  • 61
  • 449
  • 578
27
votes
5 answers

Svnadmin load from dumpfile causes "file not found error". Help?

Given: Repository_1 - source Repository_2 - destination I created a dump file of Repository_1/Folder1 using combination of svnadmin and svndumpfilter When loading from the dump file from Repository_1/Folder1 into Repository_2/Trunk everything is…
Chicago
  • 1,569
  • 4
  • 17
  • 31
22
votes
4 answers

Subversion Obliterate feature

I was just thinking of writing a shell script to implement the obliterate functionality in an easy to do way (externally, using the suggested way, but automated). Here's what I had in mind: On the client svn list -R > file-list. filter file-list in…
Osama Al-Maadeed
  • 5,523
  • 4
  • 26
  • 47
18
votes
0 answers

How to move an SVN repository from one server to another

I need to copy the existing SVN repository from one development server to another. Per my understandings, I have come up with the steps. It would be great if someone can verify and let me know if I have missed any point. Current server:…
Shweta Chandrakar
  • 353
  • 2
  • 3
  • 12
17
votes
1 answer

How to set permissions in an svn repository?

I created a repository on a network drive with svnadmin create repos. Is there a way to set user permissions to the repository? And if that is the case how can those permissions be set?
Woltan
  • 12,751
  • 12
  • 70
  • 97
15
votes
2 answers

Difference between svnrdump dump & svnadmin dump

I need a dump of a svn repository. I found two solutions svnrdump dump And svnadmin dump svnrdump dump is the same of svnadmin dump? If not, what are the differences between these two commands ?
R3tep
  • 11,061
  • 9
  • 38
  • 69
13
votes
3 answers

svndumpfilter fails with "Invalid copy source path..." error

I want to move part of my SVN repo offsite, onto an AWS instance & am following this page (Repository Maintenance) I have taken a dump of the whole repo (Windows commands): svnadmin dump c:\repo > all_repo Next is to filter it, to include only the…
Richard Le Mesurier
  • 27,993
  • 19
  • 127
  • 242
13
votes
1 answer

Does "svnadmin dump" lock the repository?

... what happens if someone tries to commit during a svnadmin dump REPOS_PATH? The subversion book doesn't say anything about that.
ulrichb
  • 18,344
  • 6
  • 67
  • 87
12
votes
2 answers

Malformed dumpfile header when migrating repository from Windows to Linux (encoding issue?)

I'm moving an SVN repository from a Windows machine (Windows 7) to a Linux machine (Ubuntu 13). I dump the repo on Windows with svnadmin dump and copy the files to the Linux machine. Now I'm running svnadmin load dest-folder < dumpfile And the…
Kukanani
  • 697
  • 5
  • 20
11
votes
2 answers

Piping data on Windows command prompt

I need to get a backup dump of a large (~8gb) svn repository. My current method involves using svnadmin dump to a file and then using 7-Zip to compress and split the file. > svnadmin dump c:\path\to\myrepo > c:\svndump.svn > 7z svndump.svn…
nickf
  • 499,078
  • 194
  • 614
  • 709
11
votes
7 answers

TortoiseSVN svnadmin

Currently im setting up TortoiseSVN and reading through docs etc. The manual often mentions svnadmin. I figured out, that I have to download it seperatly. But the link seems to be old. After some browsing I got here. But I can't find a version…
PetPaulsen
  • 3,156
  • 2
  • 20
  • 31
11
votes
1 answer

SVN load ./myNewRepo < ./myOldRepo.dump -- Can't open file 'myNewRepo/format'?

I'm trying to migrate an old repository (let's call it myOldRepo) to a new repository (myNewRepo). I've got an svndump of the old repo, myOldRepo.dump. I've checked out my new repository, myNewRepo. Both are in the same directory. I'm trying to use…
1
2 3
11 12