[[Home|» Project Kenai Documentation and Training]] [[Howdoi|» How Do I ...]] <h1>Migrating an Existing Subversion Repository to a Kenai Project Repository</h1> If you manage a project on Project Kenai and want to copy an existing Subversion repository into your Kenai project repository, the first thing you need to do is evaluate how large the repository is. A repository larger than 1,000 revisions is likely to overload the Kenai Source Control Management system if you do it yourself with <tt>svnsync</tt>. Even a repository of less than 1,000 revisions can take hours to copy. If instead, as described below, you do an <tt>svnsync</tt> to a repository on a system with fast Internet access, zip the resulting repository and upload the zip file to your project, and then request that the Kenai staff copy the repository file system to your project's Subversion repository on Kenai, the repository can be copied safely without overloading the system. '''Note:''' If your repository has less than 1,000 revisions, you can do an <tt>svnsync</tt> yourself as described at [[ManageProject#Copying_an_Existing_Subversion_Repository_Into_Your_Project_s_Subversion_Repository|Copying an Existing Subversion Repository Into Your Project's Subversion Repository]]. '''To set up your repository to be copied:''' #Create your Kenai Subversion repository as described at [[ManageProject#Source_Code_Repository|Source Code Repository]]. #Note the destination repository checkout URL. For example:<br/> <tt> <nowiki>https://svn.kenai.com/svn/</nowiki>''your-project-repos''</tt> (https access)<br/> <tt> <nowiki>svn+ssh://</nowiki></tt>''your-username''<tt>@svn.kenai.com/</tt>''your-project-name''<tt>~</tt>''your-project-repos'' (SSH access) #Create your source repository dump on a host with fast Internet access. For example:<br/><pre> $ svnadmin create /tmp/your-repos-dump~source</pre><pre> $ svnsync init file:///tmp/your-repos-dump~source https://www.somesite.org/your-ext-project/svn/your-repo~source</pre><pre> $ zip -rv your-repos-dump~source.zip /tmp/your-repos-dump~source</pre> # Create a project website as described at [[ManageProject#Website|Website]]. # Use WebDAV to upload your repository zip file.<br/> For information on using WebDAV with your website, see [[UploadWebsiteFiles|Working With Your Website]]. # Send email to [mailto:email@example.com firstname.lastname@example.org] requesting that your repository be uploaded. Be sure to provide the URL to the zip file and your project repository's URL from Step 2 above.