This article helps you to import an existing repository from another VisualSVN Server installation or from another Subversion server or hosting. VisualSVN Server provides two different import methods: To restore a repository from a backup file (*.vsvnbak), please use the dedicated Restore Repository wizard. For additional details, see the
KB106: Getting started with Backup and Restore article. Copy repository from another locationThis method allows you to import any repository that uses the FSFS or VDFS backend data store type. When using this method, VisualSVN Server performs a hot copy of a source repository. An imported repository will include all versioned changes, hook scripts, configured permissions and other repository settings. Before you begin the import process, consider the following prerequisites:
Once the prerequisites are met, perform the following steps to copy a repository from another location:
The specified repository will be copied into the repositories root directory and will be available under the Repositories node in VisualSVN Server Manager. Alternatively, a repository can be imported using a PowerShell cmdlet. Learn more about the Import-SvnRepository cmdlet in the dedicated section of the KB88: VisualSVN Server PowerShell Cmdlet Reference article. Load repository from a dump fileThis method allows you to import a repository of any given format by loading it from a repository dump file. The repository dump file format is independent of the repository backend data store type or its version. For example, it can be used to migrate a BDB-backed repository to the FSFS backend. VisualSVN Server supports loading GZIP-compressed dump files (*.gz). Therefore, you do not need to unpack compressed dump files and can load them as is. Note that a repository dump file does not carry any information about the hook scripts, configured permissions and other repository settings, so you may need to configure them after the import. Before you begin the import process, consider the following prerequisites:
Once the prerequisites are met, perform the following steps to load a repository from a dump file:
The destination repository will be created using the data in the selected dump file and will become available under the Repositories node in VisualSVN Server Manager. Alternatively, a repository dump can be imported using a PowerShell cmdlet. Learn more about the Import-SvnRepository cmdlet in the dedicated section of the KB88: VisualSVN Server PowerShell Cmdlet Reference article. You should be able to access your import source from the computer where it is being imported to. If you are importing from a network share, make sure that:
See also KB80: Repository types available in VisualSVN
Server |