{"id":399,"date":"2011-07-04T13:24:50","date_gmt":"2011-07-04T11:24:50","guid":{"rendered":"http:\/\/hen.co.za\/blog\/?p=399"},"modified":"2011-07-04T13:24:50","modified_gmt":"2011-07-04T11:24:50","slug":"moving-the-sql-server-databases-of-a-biztalk-2006-installation","status":"publish","type":"post","link":"https:\/\/hen.co.za\/blog\/2011\/07\/moving-the-sql-server-databases-of-a-biztalk-2006-installation\/","title":{"rendered":"Moving the SQL server databases of a BizTalk (2006) installation"},"content":{"rendered":"<p>This is hopefully not something you have to do often and even more so for a production environment!<\/p>\n<p>Firstly if you don&#8217;t have any applications installed yet or don&#8217;t worry about re-installing everything then rather go ahead and do a fresh install. Secondly, if you can recreate the sql server with exactly the same name &#8211; that should be safest option because you don&#8217;t need to make any changes to the BizTalk front end servers. Lastly, you can try the &#8216;restore&#8217; vb scripts that is located in the &#8216;C:\\Program Files\\Microsoft BizTalk Server 2006\\Schema\\Restore&#8217; directory of the BizTalk server(s).<\/p>\n<p>To use these scripts you have to perform the following steps (after making proper backups of the &#8216;whole&#8217; environment)<\/p>\n<p>1. Stop all host instances plus SSO services.<\/p>\n<p>2. Edit the sample xml file and replace all the placeholder names &#8216;SourceServer&#8217; and &#8216;DestinationServer&#8217; plus uncomment the sections you need and save the file.<\/p>\n<p>3. Run the 2 scripts &#8216;UpdateDatabase.vbs&#8217; (once) and &#8216;UpdateRegistry.vbs&#8217; (on each BizTalk server).<\/p>\n<p>4. Start SSO service (master first)<\/p>\n<p>5. Start BizTalk hosts<\/p>\n<p>6. If it worked go buy yourself a drink&#8230; else start praying&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is hopefully not something you have to do often and even more so for a production environment! Firstly if you don&#8217;t have any applications installed yet or don&#8217;t worry about re-installing everything then rather go ahead and do a &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/hen.co.za\/blog\/2011\/07\/moving-the-sql-server-databases-of-a-biztalk-2006-installation\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[305,37,44,49,24],"class_list":["post-399","post","type-post","status-publish","format-standard","hentry","category-reference","tag-biztalk","tag-database","tag-microsoft","tag-sql","tag-tip"],"_links":{"self":[{"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/posts\/399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/comments?post=399"}],"version-history":[{"count":2,"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/posts\/399\/revisions"}],"predecessor-version":[{"id":401,"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/posts\/399\/revisions\/401"}],"wp:attachment":[{"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/media?parent=399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/categories?post=399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hen.co.za\/blog\/wp-json\/wp\/v2\/tags?post=399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}