{"id":2346,"date":"2012-01-06T09:26:59","date_gmt":"2012-01-06T17:26:59","guid":{"rendered":"http:\/\/www.technosolutions.com\/kb\/2346\/migrating-your-repository-from-one-database-type-to-another-database-type\/"},"modified":"2020-04-02T23:32:41","modified_gmt":"2020-04-03T06:32:41","slug":"migrating-your-repository-from-one-database-type-to-another-database-type","status":"publish","type":"post","link":"http:\/\/www.technosolutions.com\/kb\/2346\/migrating-your-repository-from-one-database-type-to-another-database-type\/","title":{"rendered":"Migrating your repository from one database type to another database type"},"content":{"rendered":"<p><!-- Start ScreenSteps Content --><\/p>\n<div class=\"LessonContent\">\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Background<\/h3>\n<div class=\"StepInstructions\">\n<p>TechnoSolutions&#8217; products TopTeam(TM), Visual Use Case(TM), etc. store repository artifacts in a database. You can use Microsoft SQL Server, Oracle or Firebird Open Source databases to host this repository.<\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Overview<\/h3>\n<div class=\"StepInstructions\">\n<p>This article explains how to migrate data repository from one database type to another database type.<br \/>\nFor example, you can migrate data repository from Firebird DB (Database) to Microsoft SQL Server DB, from Firebird DB to Oracle DB, etc.<\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Who should read this?<\/h3>\n<div class=\"StepInstructions\">\n<ul>\n<li>TopTeam or Visual Use Case Administrators<\/li>\n<li>IT Support<\/li>\n<li>Database Administrators<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Process Overview<\/h3>\n<div class=\"StepInstructions\">\n<ol>\n<li><strong>Export data <\/strong>from existing database using the Export utility provided by TechnoSolutions.<\/li>\n<li><strong>Perform a new installation <\/strong>of <i>TopTeam Application Server<\/i> (or <i>Visual Use Case Application Server<\/i>) for the new database type.<\/li>\n<li><strong>Import data<\/strong> from Step 1 into the new database using the Import utility provided by TechnoSolutions.<\/li>\n<li><strong>Move &#8220;User Data Files&#8221;<\/strong> from existing Application Server to the corresponding folder of the new Application Server.<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Preparations<\/h3>\n<div class=\"StepInstructions\">\n<p>1. Ensure that TechnoSolutions&#8217; <i><strong>Export utility<\/strong> <\/i>for the existing database type is downloaded from the <a href=\"https:\/\/customerportal.technosolutions.com\" target=\"_blank\" rel=\"noopener\">TechnoSolutions Customer Portal<\/a> (access to Customer Portal is available only to licensed customers) and is available for use.<\/p>\n<p>2. Ensure that TechnoSolutions&#8217; <i><strong>Import utility<\/strong> <\/i>for the new database type is downloaded from the <a href=\"https:\/\/customerportal.technosolutions.com\" target=\"_blank\" rel=\"noopener\">TechnoSolutions Customer Portal<\/a> (access to Customer Portal is available only to licensed customers) and is available for use.<\/p>\n<p>3. The <i><strong>TopTeam Application Server installer<\/strong><\/i> for the new database type (unless this is already installed).<br \/>\nRefer to the following appropriate article for <i>TopTeam Application Server<\/i>:<br \/>\na. Firebird &#8211; <a href=\"http:\/\/www.technosolutions.com\/kb\/370\/installing-topteam-application-server-for-firebird-database\/\" target=\"_blank\" rel=\"noopener\">Installing TopTeam Application Server for Firebird<\/a><br \/>\nb. Oracle &#8211; <a href=\"http:\/\/www.technosolutions.com\/kb\/488\/installing-topteam-application-server-for-oracle-database\/\" target=\"_blank\" rel=\"noopener\">Installing TopTeam Application Server for Oracle<\/a><br \/>\nc. SQL Server &#8211; <a href=\"http:\/\/www.technosolutions.com\/kb\/511\/installing-topteam-application-server-for-sql-server-database\/\" target=\"_blank\" rel=\"noopener\">Installing TopTeam Application Server for SQL Server<\/a><\/p>\n<p>4. <i><strong>License Key and License Files<\/strong><\/i> for the new database type (Each database type requires a different set of Keys and Files for <i>TopTeam<\/i> or <i>Visual Use Case<\/i>).<br \/>\nRefer to the article <a href=\"http:\/\/www.technosolutions.com\/kb\/7374\/how-to-register-and-load-license-files-in-topteam-using-management-console\/\" target=\"_blank\" rel=\"noopener\">How to register and load License Files in TopTeam using Management Console.<\/a><\/p>\n<p>5. Username and Password to access the repository schema in the <i><strong>existing database<\/strong><\/i> (so that the Export utility can connect to the current database).<\/p>\n<p>6. Username and Password to access the repository schema in the <i><strong>new database<\/strong><\/i> (so that the Import utility can connect to the new database).<\/p>\n<p>TechnoSolutions repository Import\/Export utilities and <i>Application Server<\/i> installers are available from the <a href=\"https:\/\/customerportal.technosolutions.com\" target=\"_blank\" rel=\"noopener\">TechnoSolutions Customer Portal<\/a> (access to Customer Portal is available only to licensed customers).<\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Step 1. Install new TopTeam Application Server<\/h3>\n<div class=\"StepInstructions\">\n<p>Install new <i>TopTeam Application Server<\/i> and DB Schema on the new (destination) database and apply the license keys.<\/p>\n<p>Refer to the following related articles:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.technosolutions.com\/kb\/370\/installing-topteam-application-server-for-firebird-database\/\" target=\"_blank\" rel=\"noopener\">Installing TopTeam Application Server for Firebird<\/a><\/li>\n<li><a href=\"http:\/\/www.technosolutions.com\/kb\/488\/installing-topteam-application-server-for-oracle-database\/\" target=\"_blank\" rel=\"noopener\">Installing TopTeam Application Server for Oracle<\/a><\/li>\n<li><a href=\"http:\/\/www.technosolutions.com\/kb\/511\/installing-topteam-application-server-for-sql-server-database\/\" target=\"_blank\" rel=\"noopener\">Installing TopTeam Application Server for SQL Server<\/a><\/li>\n<li><a href=\"http:\/\/www.technosolutions.com\/kb\/7374\/how-to-register-and-load-license-files-in-topteam-using-management-console\/\" target=\"_blank\" rel=\"noopener\">How to register and load License Files in TopTeam using Management Console<\/a><\/li>\n<\/ul>\n<p>For example: If you are moving from Firebird to MS SQL Server, you would install <i>TopTeam\/Visual Use Case Application Server <\/i>for MS SQL Server.<\/p>\n<p><strong>NOTE:<\/strong><\/p>\n<ul>\n<li>There is<strong> <i>NO need to configure<\/i><\/strong> users and other application configuration on the new destination database. When you migrate from the existing database, all data, configuration settings etc. will be carried over and ANY repository related data in the new (destination) database will be overwritten.<\/li>\n<li>The <i>Repository DB Schema<\/i> version of the existing database must match the DB Schema version of the new database. <i>Repository Schema<\/i> versions are specified as 3.2, 4.8, etc.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Step 2. Export data from existing database<\/h3>\n<div class=\"StepInstructions\">\n<p>Follow these steps to export repository data from the existing database:<\/p>\n<p>1. Stop and exit from existing <i>TopTeam Application Server<\/i>.<\/p>\n<p>2. Download the TopTeam Export\/Import utility corresponding to the existing database.<\/p>\n<p>For example: If you are moving from Firebird to MS SQL Server, your existing database is Firebird. You then need the <i>TopTeam Firebird Database Export\/Import utility<\/i>.<br \/>\nFor Firebird &#8211; Use Username and Password as <i><strong>sysdba<\/strong><\/i> and<strong> <i>masterkey<\/i><\/strong><\/p>\n<p>3. Run the <i>Export\/Import utility<\/i> on the computer where the database is running, choose the<strong> <i>option to Export<\/i><\/strong><i> <strong>data<\/strong><\/i>.<\/p>\n<p>This will export the <i>TopTeam\/Visual Use Case <\/i>data into a number of intermediate files.<\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Step 3. Migrate data<\/h3>\n<div class=\"StepInstructions\">\n<p>1. If moving to a new computer, copy the exported data files (generated in Step 2. above) to the new computer.<\/p>\n<p>2. Copy &#8220;User Data Files&#8221; to the corresponding location of the new Application Server.<\/p>\n<p>The <strong>default location<\/strong> of the <i>User Data Files<\/i> is:<br \/>\nC:\\Program Files\\TechnoSolutions TopTeam\\Application Server for &lt;&gt;\\User Data Files<br \/>\nC:\\Program Files\\TechnoSolutions TopTeam\\Application Server for &lt;&gt;\\User Data Files &#8211; Sample<\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Step 4. Run the Import utility to import data into the new database<\/h3>\n<div class=\"StepInstructions\">\n<p>1. Stop and exit from the new <i>TopTeam Application Server<\/i>, if running.<br \/>\n(i.e. <strong>Ensure that the new<i> TopTeam Application Server<\/i> is NOT running<\/strong>).<\/p>\n<p>2. Download the <i>TopTeam Export\/Import <\/i>utility corresponding to your destination database. (Download the Export\/Import utility from the <a href=\"https:\/\/customerportal.technosolutions.com\" target=\"_blank\" rel=\"noopener\">TechnoSolutions Customer Portal<\/a>).<\/p>\n<p>For example: If you are moving from Firebird to MS SQL Server, your target database is SQL Server, so you would need the <i>TopTeam SQL Server Database Export\/Import<\/i> utility.<br \/>\n<strong>NOTE: You will need a valid Username and Password for SQL Server.<\/strong><\/p>\n<p>Refer to these articles:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.technosolutions.com\/kb\/2358\/importing-previously-exported-repository-data-into-oracle-server-database-step_by_step\/\" target=\"_blank\" rel=\"noopener\">Importing previously exported repository data into Oracle Server Database step_by_step<\/a><\/li>\n<li><a href=\"http:\/\/www.technosolutions.com\/kb\/2595\/importing-previously-exported-repository-data-into-sql-server-database-step_by_step\/\" target=\"_blank\" rel=\"noopener\">Importing previously exported repository data into SQL Server Database step by step<\/a><\/li>\n<\/ul>\n<p>3. Run the Export\/Import utility on the same computer on which the database is running. Choose the option to Import data.<\/p>\n<p>4. Restart <i>TopTeam\/Visual Use Case Application Server<\/i>.<\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">IMPORTANT:<\/h3>\n<div class=\"StepInstructions\">\n<ol>\n<li>You need to optimize the database that has been created\/migrated to ensure proper performance. Refer to the article <a href=\"http:\/\/www.technosolutions.com\/kb\/10511\/optimizing-topteam-database-performance\/\" target=\"_blank\" rel=\"noopener\">Tuning TopTeam Database Performance<\/a>.<\/li>\n<li>Run &#8220;Resync Tab-indicators&#8221; from <i>Desktop App<\/i> to resynchronize tab indicators throughout the system.<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Step 5. Run &#8220;Resync Tab-indicators&#8221; from Desktop App<\/h3>\n<div class=\"StepImage\" style=\"margin: 10px 0px;\"><img loading=\"lazy\" decoding=\"async\" style=\"padding: 3px; border: 1px solid #ccc;\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2018\/12\/wpid19454-media_1416398654600-1.png\" alt=\"wpid19454-media_1416398654600-1.png\" width=\"733\" height=\"495\" \/><\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">See Also<\/h3>\n<div class=\"StepInstructions\">\n<p><a href=\"http:\/\/www.technosolutions.com\/kb\/2595\/importing-previously-exported-repository-data-into-sql-server-database-step-by-step\/\" target=\"_blank\" rel=\"noopener\">Importing previously exported repository data into SQL Server Database step-by-step<\/a><br \/>\n<a href=\"http:\/\/www.technosolutions.com\/kb\/2633\/exporting-repository-data-from-firebird-database-step_by_step\/\" target=\"_blank\" rel=\"noopener\">Exporting repository data from Firebird Database step_by_step<\/a><\/p>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<div class=\"StepInstructions\">\n<p>Revised: September 8th, 2016<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!-- End ScreenSteps Content --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Background TechnoSolutions&#8217; products TopTeam(TM), Visual Use Case(TM), etc. store repository artifacts in a database. You can use Microsoft SQL Server, Oracle or Firebird Open Source databases to host this repository. Overview This article explains how to migrate data repository from one database type to another database type. For example, you can migrate data repository from Firebird DB (Database) to Microsoft SQL Server DB, from Firebird DB to Oracle DB, etc. Who should read this? TopTeam or Visual Use Case Administrators IT Support Database Administrators Process Overview Export data from existing database using the Export utility provided by TechnoSolutions. Perform a <\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[281,43,295],"class_list":["post-2346","post","type-post","status-publish","format-standard","hentry","category-database","tag-database","tag-migrate","tag-repository"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/paoaNA-BQ","_links":{"self":[{"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/posts\/2346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/comments?post=2346"}],"version-history":[{"count":29,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/posts\/2346\/revisions"}],"predecessor-version":[{"id":49542,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/posts\/2346\/revisions\/49542"}],"wp:attachment":[{"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/media?parent=2346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/categories?post=2346"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/tags?post=2346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}