Kiran Panduga created SVN-4821: ---------------------------------- Summary: Svnadmin load - unable to include multiple Parent Directories Key: SVN-4821 URL: https://issues.apache.org/jira/browse/SVN-4821 Project: Subversion Issue Type: Task Components: svnadmin, svndumpfilter Environment: Linux Reporter: Kiran Panduga
{color:#333333}Need your help, We have huge SVN repo (non-standard format with 76000 revisions) and want to split ONLY the binaries from the repo and then load those binaries into the new repo. To achieve this, we had followed the below approach: {color} * {color:#242729}Create a dump of the current repository{color}{color:#333333} svnadmin dump /opt/repo > full_dump {color} {color:#333333} {color} * {color:#333333}Filter the dump to include the binaries directories svndumpfilter include folderofbinaries --renumber-revs --drop-empty-revs < full_dump > filtered_dump {color} {color:#333333} {color} * {color:#333333} Create a new repo svnadmin create newrepo {color} {color:#333333} {color} * {color:#333333}Most of the directories included has a parent directory, therefore need to create svn checkout "[file:////path/to/newrepo/|file:///path/to/newrepo/]" newrepocheckout mkdir newrepocheckout/some svn add newrepocheckout/some svn commit newrepocheckout -m "Prepare to load filtered history" {color} * {color:#333333}Create a local SVN repository with the filtered dump:{color} {color:#333333} svnadmin load repo-filtered < filtered_dump {color} {color:#333333}However, we are seeing errors related to {color}{color:#ff0000}svnadmin: File not found: transaction ‘0-0’ , path{color}{color:#333333} Tried using the option svnadmin load —parent-dir “/program” repo-filtered < filtered_dump {color}{color:#ff0000}svnadmin: E160013: File not found: transaction '0-0', path 'programs/branches’{color}{color:#333333} We have around 100's of 1000's of parent directories and how can we include all the parent directories while loading the filtered_dump into the new repo? Is there any possibility to copy all the parent directories from old repo to new repo and then load the dump into the new repo?{color}{color:#333333} {color} {color:#333333}Please advise.{color} {color:#333333}thanks,{color} {color:#333333}Kiran.{color} {color:#333333}PS - Opening this ticket, since I did not receive any inputs from the mailing list group {color}[us...@subversion.apache.org|mailto:users%40subversion.apache.org] -- This message was sent by Atlassian JIRA (v7.6.14#76016)