You can port a repository from one DBMS to another retaining all your repository folder and branch structure and version histories by creating a new repository and using the Import Repository command to copy an existing repository into it. Importing a repository deletes any existing data in the database into which the repository is being imported.