Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4821

Svnadmin load - unable to include multiple Parent Directories

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Critical
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: svnadmin, svndumpfilter
    • Labels:
      None
    • Environment:

      Linux

      Description

      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:

      • Create a dump of the current repository
        svnadmin dump /opt/repo > full_dump

       

      • Filter the dump to include the binaries directories
        svndumpfilter include folderofbinaries --renumber-revs --drop-empty-revs < full_dump > filtered_dump

       

      •  Create a new repo
        svnadmin create newrepo

       

      • Most of the directories included has a parent directory, therefore need to create
        svn checkout "file:////path/to/newrepo/" newrepocheckout
        mkdir newrepocheckout/some
        svn add newrepocheckout/some
        svn commit newrepocheckout -m "Prepare to load filtered history"
      • Create a local SVN repository with the filtered dump:

            svnadmin load repo-filtered < filtered_dump

       

      However, we are seeing errors related tosvnadmin: File not found: transaction ‘0-0’ , path
      Tried using the option
      svnadmin load —parent-dir “/program” repo-filtered < filtered_dump
      svnadmin: E160013: File not found: transaction '0-0', path 'programs/branches’

      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?

      Please advise.

      thanks,

      Kiran.

       

      PS - Opening this ticket, since I did not receive any inputs from the mailing list group users@subversion.apache.org

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kiran@appfire.com Kiran Panduga
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: