I am struggling trying to load a incremental SVN backup made using svnadmin dump --incremental.

I have based my backup script on the ServerFault post: Incremental Backups of SVN Repository daily ? (OS = UNIX)

The first revision of each new backup is the last revision of the previous backup, is this correct?


  • Backup1: rev 0 to rev 100

  • Backup2: rev 100 to 154

  • etc

When I'm trying to load these backups into a new server (using svnadmin load), I am getting the error svnadmin: File already exists errors for the first revision in the second backup.


Your backup1 and backup2 dumps contain a revision that exists in both of them: rev 100. So when performing svnadmin dump with --incremental on a range of revisions make sure that these dumps don't overlap.

For example in your case the backup1 and backup2 should contain:

Backup1: rev 0 to 99

Backup2: rev 100 to 154

Backup3: rev 155 to 199

Here is a sample from the SVNBook:

$ svnadmin dump myrepos -r 0:1000 > dumpfile1
$ svnadmin dump myrepos -r 1001:2000 --incremental > dumpfile2
$ svnadmin dump myrepos -r 2001:3000 --incremental > dumpfile3
| improve this answer | |
  • Hi Bahrep, thank you for the info! I don't have enough reputation to be able to comment on the original proposed solution, perhaps you can so others don't have the issue I had? – Donal M Apr 11 '13 at 17:57

While using svnload you can try in this way

svnadmin load D:\Repositories\RepoName < E:\Dump_1-100.dump

svnadmin load -r 101:154 D:\Repositories\RepoName < E:\Dump_100-154.dump

| improve this answer | |

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.