Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
3.5 KiB

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
  2. <HTML DIR="ltr">
  3. <HEAD>
  4. <TITLE>Restore a UDDI&nbsp;Services database</TITLE>
  5. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252">
  6. <META HTTP-EQUIV="MSThemeCompatible" CONTENT="Yes">
  7. <META NAME="MS.LOCALE" CONTENT="EN-US">
  8. <LINK REL="stylesheet" MEDIA="screen" TYPE="text/css" HREF="coUA.css">
  9. <LINK REL="stylesheet" MEDIA="print" TYPE="text/css" HREF="coUAprint.css">
  10. <SCRIPT LANGUAGE="JScript" SRC="shared.js"></SCRIPT>
  11. </HEAD>
  12. <BODY>
  13. <DIV CLASS="UAbrand"><SPAN CLASS="webonly"><IMG SRC="UAbrand.gif" CLASS="UAbrand" ALT="Microsoft Windows Graphic"></SPAN></DIV>
  14. <P CLASS="proclabel">To restore a
  15. UDDI&nbsp;Services
  16. database</P>
  17. <P CLASS="Important">Important</P>
  18. <UL>
  19. <LI>
  20. Before restoring any data, it is highly recommended that you <i>stop</i> all
  21. UDDI&nbsp;Services
  22. Web servers that are connected to the database server to which you are
  23. restoring data. For more information, see <a href="uddi.mmc.startorstopasever.htm">Start
  24. or Stop a Web Server</a>.
  25. <LI>
  26. To perform this procedure, you must have administrative credentials.
  27. <LI>
  28. When you restore a
  29. UDDI&nbsp;Services
  30. database, all existing data is destroyed.
  31. <LI>
  32. If any of the paths referenced in the UDDI.Database.bak file do not exist on
  33. the local computer, the restore operation will fail with a device activation
  34. error.</LI>
  35. </UL>
  36. <OL>
  37. <LI>
  38. From the computer hosting the
  39. UDDI&nbsp;Services
  40. database you want to restore, open <A ID="shortcut" HREF="EXEC=,cmd.exe,, CHM=UAShared.chm FILE=alt_url_windows_component.htm">
  41. Command Prompt</A>.
  42. <LI>
  43. At the command prompt, type:
  44. <p>
  45. <B>CD&nbsp;<i>UDDI_Services_Installation_Directory</i>\Data</B></p>
  46. The default
  47. UDDI&nbsp;Services
  48. installation directory is:
  49. <P><i>systemroot</i><b>\Inetpub\UDDI\</b></P>
  50. <LI>
  51. If you have not already done so, copy the database backup file (<b>UDDI.Database.bak</b>)
  52. that you want to restore into this directory.
  53. <LI>
  54. Type:
  55. <p><NOBR><B>UDDI.database.restore.cmd</B> <wbr>[<i>Database_Instance_Name</i>]</NOBR></p>
  56. <TABLE WIDTH="90%">
  57. <TR>
  58. <TH>
  59. Value</TH>
  60. <TH>
  61. Description</TH>
  62. </TR>
  63. <TR>
  64. <TD><i>Database_Instance_Name</i></TD>
  65. <TD>The name of the local MSDE2000 or SQL Server database instance where the UDDI
  66. Services database component is installed. If none is specified, the default
  67. database instance is used.</TD>
  68. </TR>
  69. </TABLE>
  70. For example, to restore to a database instance named UDDI, type:
  71. <p><NOBR><B>uddi.database.restore.cmd UDDI</B></NOBR></p>
  72. </LI>
  73. </OL>
  74. The backup data replaces the existing data in this database instance.
  75. <P CLASS="note">Note</P>
  76. <UL>
  77. <LI>
  78. You can only restore data from backups made from the same installation of
  79. UDDI&nbsp;Services. You cannot use this tool to migrate data
  80. from one installation to another.
  81. <LI>
  82. Use the <B>runas</B> command to perform administrative tasks with
  83. Administrative&nbsp;credentials as necessary. You can use this command by
  84. typing <b>runas</b> at the command prompt.
  85. </LI>
  86. </UL>
  87. <hr class="iis" size="1">
  88. <p align="center"><i><a href="colegal.htm">&copy; 1997-2002 Microsoft Corporation. All rights
  89. reserved</a>.</i></p>
  90. </BODY>
  91. </HTML>