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.

178 lines
5.7 KiB

  1. <Schema name="VssComponentMetadata"
  2. xmlns="urn:schemas-microsoft-com:xml-data"
  3. xmlns:dt="urn:schemas-microsoft-com:datatypes">
  4. <AttributeType name="filespec" dt:type="string" required="yes">
  5. <description>
  6. File specification. Can include wildcard characters ? and *
  7. </description>
  8. </AttributeType>
  9. <AttributeType name="path" dt:type="string" required="yes">
  10. <description>
  11. Path to a file. The path can include environment variables or
  12. values extracted from registry keys.
  13. </description>
  14. </AttributeType>
  15. <AttributeType name="recursive" dt:type="enumeration"
  16. dt:values="yes no" default="no">
  17. <description>
  18. Is path specified recursive or limited to the directory that is specified.
  19. </description>
  20. </AttributeType>
  21. <AttributeType name="alternatePath" dt:type="string" required="no">
  22. <description>
  23. Alternate path in which to find the file. Files in a file group may
  24. have been copied to an alternative location by the writer. Backup should
  25. pick up the files from the alternative location instead of the original
  26. location but should restore the files to their original location
  27. </description>
  28. </AttributeType>
  29. <AttributeType name="logicalPath" dt:type="string" required="no">
  30. <description>
  31. Logical path for a database or file group. This logical name uses backslash
  32. as separators to form a logical namespace hierarchy
  33. </description>
  34. </AttributeType>
  35. <AttributeType name="componentName" dt:type="string" required="yes">
  36. <description>
  37. Name used to identify a database or file group. May be qualified by a
  38. logical path.
  39. </description>
  40. </AttributeType>
  41. <AttributeType name="version" dt:type="enumeration" dt:values="1.0" required="yes">
  42. <description>
  43. Version of a specific document
  44. </description>
  45. </AttributeType>
  46. <AttributeType name="writerId" dt:type="uuid" required="yes">
  47. <description>
  48. Unique id to identify the writer. Note that this identifies the
  49. writer class rather than a specific instance of the writer.
  50. </description>
  51. </AttributeType>
  52. <AttributeType name="instanceId" dt:type="uuid" required="no">
  53. <description>
  54. Unique id identifying the instance of a writer during backup. It
  55. has no meaning during restore.
  56. </description>
  57. </AttributeType>
  58. <ElementType name="BACKUP_COMPONENTS" content="eltOnly" model="closed" order="many">
  59. <description>
  60. Components that are backed up or restored.
  61. Used to communicate between the writer and the backup application during
  62. backup and restore.
  63. </description>
  64. <AttributeType name="selectComponents" dt:type="enumeration"
  65. dt:values="yes no" default="no">
  66. <description>
  67. Does the backup application select individual components or
  68. does it backup entire volumes
  69. </description>
  70. </AttributeType>
  71. <AttributeType name="bootableSystemStateBackup" dt:type="enumeration"
  72. dt:values = "yes no" default="no" >
  73. <description>
  74. Is backup saving the bootable state of the system.
  75. </description>
  76. </AttributeType>
  77. <AttributeType name="backupType" dt:type="enumeration"
  78. dt:values="full differential incremental other"
  79. required="yes">
  80. <description>
  81. Type of backup being performed.
  82. </description>
  83. </AttributeType>
  84. <attribute type="version" />
  85. <attribute type="selectComponents" />
  86. <attribute type="bootableSystemStateBackup" />
  87. <attribute type="backupType" />
  88. <element type= "WRITER_COMPONENTS" />
  89. </ElementType>
  90. <ElementType name="WRITER_COMPONENTS" content="eltOnly" model="closed"
  91. order="many">
  92. <description>
  93. Components that are backed up and restored that are associated with a
  94. specific writer instance
  95. </description>
  96. <attribute type="writerId" />
  97. <attribute type="instanceId" />
  98. <element type="COMPONENT" />
  99. </ElementType>
  100. <ElementType name="COMPONENT" content="eltOnly" model="open" order="many">
  101. <AttributeType name="backupSucceeded" dt:type="enumeration"
  102. dt:values="yes no" default="no">
  103. <description>
  104. Indication of whether the component was backed up successfully
  105. or not. This should be set during the BackupComplete notification
  106. </description>
  107. </AttributeType>
  108. <AttributeType name="componentType" dt:type="enumeration"
  109. dt:values="database filegroup">
  110. <description>
  111. Indication of whether component is database or file group
  112. </description>
  113. </AttributeType>
  114. <attribute type="componentType" />
  115. <attribute type="logicalPath" />
  116. <attribute type="componentName" />
  117. <attribute type="backupSucceeded" />
  118. <element type="BACKUP_METADATA" minOccurs="0" maxOccurs="1" />
  119. <element type="ALTERNATE_LOCATION_MAPPING" minOccurs="0" maxOccurs="*" />
  120. </ElementType>
  121. <ElementType name="ALTERNATE_LOCATION_MAPPING" content="empty" model="closed">
  122. <description>
  123. Mapping from a location that was backed up to a location to restore to.
  124. </description>
  125. <attribute type="path" />
  126. <attribute type="filespec" />
  127. <attribute type="recursive" />
  128. <attribute type="alternatePath" />
  129. </ElementType>
  130. <ElementType name="BACKUP_METADATA" content="empty" model="closed">
  131. <description>
  132. Default metadata element for backup. Content is a binary hex string.
  133. Note that the writer can store whatever he wants in the component. This
  134. is just a simple default mechanism.
  135. </description>
  136. <AttributeType name="metadata" dt:type="string" required="yes">
  137. <description>
  138. Metadata to be passed on restore
  139. </description>
  140. </AttributeType>
  141. <attribute type="metadata" />
  142. </ElementType>
  143. </Schema>