[jira] [Commented] (SVN-4821) Svnadmin load - unable to include multiple Parent Directories

"Johan Corveleyn (JIRA)" <[email protected]>
Newsgroups gmane.comp.version-control.subversion.issues
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/SVN-4821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16888779#comment-16888779 ] 

Johan Corveleyn commented on SVN-4821:
--------------------------------------

[[email protected]]: it's best to push your question on the users mailinglist (much bigger audience, also from other SVN users / administrators that might be able to give suggestions).

You mentioned that you did not receive any inputs from the mailing list ([email protected]), so I searched for your post in recent mails, but did not find it. Are you sure your post arrived on the mailinglist? It is archived in a couple of places (see http://subversion.apache.org/mailing-lists.html#users-ml): can you find your post in one of those archives, and add a link to that post-in-the-archives here?

> 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
>            Priority: Critical
>
> {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}[[email protected]|mailto:users%40subversion.apache.org]



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.