home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / info / ntkb / ntkb.exe / Q104 / 2 / 23.TXT < prev    next >
Encoding:
Text File  |  1993-10-04  |  7.5 KB  |  192 lines

  1. DOCUMENT:Q104223  01-OCT-1993  [W_NT]
  2. TITLE   :Description of Microsoft Tape Format (MTF)
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. -----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. -----------------------------------------------------------------------
  14.  
  15. SUMMARY
  16. =======
  17.  
  18. The Windows NT Backup program uses Microsoft Tape Format (MTF) as its
  19. native format. In MTF, a collection of files backed up from a hard
  20. drive are stored on tape as a Data Set, and there may be multiple Data
  21. Sets per Tape. Data Sets may span one or more tapes. The term Tape
  22. Family refers to a collection of one or more Data Sets appended
  23. together and spanning one or more tapes. In Microsoft Tape Format
  24. (MTF) there are three major components:
  25.  
  26.  - A Tape Data Block (Tape DBLK), otherwise known as the tape header
  27.  - One or more Data Sets
  28.  - On Tape Catalog Information (On Tape Catalog Inf)
  29.  
  30. |--------------------------------TAPE--------------------------------|
  31.        |-----------------------DATA SET--------|
  32.  
  33. |Tape  | SSET  | VOLB  | DIRB  | File  | E Set | On Tape    |  E Set |
  34. |DBLK  | DBLK  | DBLK  | DBLK  | DBLK  | DBLK  | Catalog Inf|  DBLK2 |
  35.  
  36. MORE INFORMATION
  37. ================
  38.  
  39. Tape Data Block
  40. ---------------
  41.  
  42. Every MTF tape contains one, and only one, Tape Descriptor Block. The
  43. Tape Descriptor Block must be the first object on the tape. The Tape
  44. Descriptor Block's primary purpose is to identify the tape. In order
  45. to accomplish this it contains the following:
  46.  
  47.  - Unique tape Family ID
  48.  - Tape sequence number to tell which tape it is in a family
  49.  - Date added to family
  50.  - Tape name and description
  51.  
  52. Data Set
  53. --------
  54.  
  55. A Data Set includes Volume Descriptor Blocks that describe the logical
  56. source device where the files are located. The term volume refers to
  57. the logical device being backed up (such as the C: drive or
  58. server/volume on a network drive). The volume descriptor block is
  59. followed by one or more Directory Descriptor Blocks, which describes
  60. the directories being backed up from the logical device. File and
  61. accompanying Data Descriptor Blocks follow.
  62.  
  63. Each backup session is written to tape as a distinct data set. Tapes
  64. can contain multiple data sets, and a single data set can extend
  65. across multiple tapes. The MTF specification breaks down the data set
  66. into specific Data Blocks:
  67.  
  68. S Set Descriptor Block
  69.  
  70.    The Start of Data Set Descriptor block is a control structure that
  71.    provides information about the current Data Set. This includes:
  72.  
  73.     - A Data sequence number
  74.     - Data set password
  75.     - Encryption and compression algorithms used
  76.     - Date the backup was performed
  77.  
  78. Volb Descriptor Block
  79.  
  80.    The Volume Descriptor block is a control structure that provides
  81.    information about the physical computer(s) on which the directories 
  82.    and files reside. This includes:
  83.  
  84.     - Device Name (such as C:, D:, and so on)
  85.     - Volume Name (such as ENGSYS)
  86.     - Machine Name (for example, Clonex 386)
  87.     - Date the backup was performed
  88.  
  89. Dirb Descriptor Block
  90.  
  91.    The Directory Descriptor block is a control structure that provides
  92.    information about the location of the files on the host computer. This
  93.    includes:
  94.  
  95.     - Directory attributes (such as ReadOnly)
  96.     - Directory name (for example, \test)
  97.     - Dates of modification, creation, backup and access
  98.     - Other tape related items
  99.  
  100.    This is a required Descriptor block and there must be at least one
  101.    DIRB Data Block in a data set. The DIRB Descriptor Block may have data
  102.    associated with it to specify items such as extended attributes and
  103.    Access Control List information.
  104.  
  105. File Descriptor Block
  106.  
  107.    Contains items that relate to the file, which include:
  108.  
  109.     - Basic file attributes (such as read-only)
  110.     - File name
  111.     - Dates created, modified, backed up, and accessed
  112.     - File size
  113.  
  114.    This is a required Descriptor Block and there must be one File
  115.    Descriptor Block per file.
  116.  
  117.    There may be additional data associated with the File Descriptor Block
  118.    that specifies items such as extended attributes and Access Control
  119.    List information. Any file data for the specified file will follow
  120.    this Descriptor Block.
  121.  
  122. E Set (End of Data Set) Descriptor Block
  123.  
  124.    The End of Data Set #1 Descriptor Block is a control structure that
  125.    provides an indication that the end  of the Data Set has been reached.
  126.  
  127.    In the event that there is On Tape Catalog Information in the same
  128.    partition as the file data there will be a second End of Data Set
  129.    following the On Tape Catalog Information. Otherwise, there will only
  130.    be one End of Data Set Descriptor Block. This includes:
  131.  
  132.     - Location of On Tape Catalog Information, if any
  133.     - Data Set sequence number
  134.     - Number of corrupt files found during backup, if any
  135.  
  136.    This is a required Descriptor Block and must be located at the end of
  137.    the set. In the implementation of the MTF on tape catalogs, a second E
  138.    SET Descriptor Block will follow the on tape catalog information
  139.  
  140. E Set (End of Data Set) Descriptor Block #2
  141.  
  142.    The End of Data Set #2 is a control structure that provides an
  143.    indication that the end of the current Data Set has been reached. This
  144.    is only present if On Tape Catalog information is located in the same
  145.    partition as the Data Set Information. The purpose of the send End of
  146.    Set Data Block is to provide fast access to the On Tape Catalog
  147.    Information. This includes the same information contained in the first
  148.    E SET Descriptor Block.
  149.  
  150. On Tape Catalog Information
  151. ---------------------------
  152.  
  153. The On Tape Catalog Information provides a quick method of locating
  154. Data Sets and specific Files and Directories on the tape. This
  155. includes:
  156.  
  157.  - File/Directory Detail information.  
  158.  
  159.    This provides specific location information about the Directories and
  160.    Files in the preceding Data Set. If File/Directory detail is present,
  161.    then a Set Map must also be provided.
  162.  
  163.  - Set Map information. 
  164.  
  165.    This provides information about all the Data Sets on the Media. It
  166.    includes the location of the File/Directory Detail for each Data Set. 
  167.    The Set Map may exist without File/Directory Detail being present.
  168.  
  169. File/Directory Detail and Set Map objects may be located in different
  170. areas of the tape. If the device supports multiple partitions, some or
  171. all of the On Tape Catalog objects may be located on this optional
  172. partition.
  173.  
  174. Additional reference words: 3.10
  175. KBCategory:
  176. KBSubCategory: 32ap
  177.  
  178. =============================================================================
  179.  
  180. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  181. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  182. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  183. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  184. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  185. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  186. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  187. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  188. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  189. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  190. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  191.  
  192. Copyright Microsoft Corporation 1993.