svndumpsvnadmin

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 fine BUT

When loading from Repository_1/Folder1/Sub-folder(created another dump for this) into Repository_2/trunk i get the following error:

svnadmin: File not found: transaction '267-89', path 'trunk/Folder1/Sub-folder'

Can anyone explain?


Solution

  • Turns out that structure(empty folders) in destination needs to pre-created. So, If you want to do this:

    When loading from Repository_1/Folder1/Sub-folder(created another dump for this) into Repository_2/trunk

    you need to created this structure in svn

    Repository_2/trunk/Folder1

    note: you only need to create parents, not the folder itself, so DO NOT CREATE Repository_2/trunk/Folder1/Sub-folder