home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR14 / DISKSAV2.ZIP / FATSAVE.DOC < prev    next >
Text File  |  1993-10-19  |  20KB  |  392 lines

  1.   FATSAVE V2.0 is Copy(c)right 1989,1993 by Gary M. Raymond, New Orleans, La.
  2.  
  3.                 SAVE your FAT Sectors and restore if necessary!
  4.              Another powerful utility from the DiskSave Series by
  5.  
  6.                               Gary M. Raymond
  7.                                 P.O.Box 8184
  8.                            New Orleans, La.  70182
  9.                                (504) 288-6550
  10.                             Compuserve 70613,3165
  11.  
  12.    ====================================================================
  13.  
  14.    Files Provided:
  15.    FATSAVE.COM        Dos Disk FAT Save Utility
  16.    FATSAVE.DOC        This document.
  17.  
  18.    System requirements: PC/XT/AT, DOS 3.0 up, 128k ram up, floppy or
  19.    hard drive, mono or color, any type graphic adapter.
  20.  
  21.    For technical information about this utility see end of doc.
  22.    ====================================================================
  23.  
  24. Q  What is FATSAVE?
  25. A  This is a very powerful com utility, written in assembler, whose
  26.    purpose is to preserve a copy of your hard drive's critical FAT
  27.    sector or File Allocation Tables. Do not be misled by the small size
  28.    of the utility. It was written in assembler for speed and accuracy.
  29.    FATSAVE copies the FAT sectors from your hard disk media to a file
  30.    called FATFILE.OF? on any formatted floppy from where it can be
  31.    restored back to the hard drive later, if required. The "?" contains
  32.    the letter designator of the drive that had its FAT saved in this
  33.    file.
  34.  
  35. Q  Why is the FAT important?
  36.    Without an accurate file allocation table, dos cannot locate your
  37.    data correctly on the disk storage media. The FAT is a potential
  38.    target of viruses as well as being vulnerable to errors in poorly
  39.    written database software. The FAT can also be corrupted by users who
  40.    enjoy experimenting with their pc systems.
  41.  
  42. Q  Suppose the data saved was not accurately written to my backup disk?
  43. A  You run this risk anytime you use any dos copy functions. However,
  44.    dos does provide for some minimal crc read/write error checking by
  45.    setting the dos copy verify flag on. This still does not guarantee
  46.    an intrinsic copy but does offer a little more protection. You can
  47.    turn Verify ON by including the "V" switch on the command line.
  48.  
  49.    Example FATSAVE a: b: V           or               FATBACK b: a: V
  50.  
  51.    Using the dos verify option slows things down a bit, but because
  52.    you are dealing in fractions of a minute, it should not matter.
  53.  
  54. Q  What is more preferable, using FATSAVE or doing a FULL system data
  55.    backup?
  56. A  Unquestionably, nothing give more peace of mind than a current backup
  57.    of all your data. This is what you definitely SHOULD do! However, the
  58.    practicality of life frequently interferes with things we know we
  59.    should do but somehow never seem to manage. Suppose you have a 200meg
  60.    hard drive. If you are fortunate to have a backup system that will
  61.    scan for files changed after a particular date at the end of the day,
  62.    and save them to a separate device, you are most fortunate. If you do
  63.    not have such a backup system, and you seldom do manual backups of
  64.    your dynamic data, you are basically a sitting duck waiting and
  65.    testing fate. Although FATSAVE cannot guarantee 100% restoration of
  66.    your data in the event of FAT corruption, it does come close and is
  67.    very FAST and EASY to use. FATSAVE will use less than 30 seconds to
  68.    save the FAT of a 200 meg hard drive. See suggestion on the best
  69.    method to put FATSAVE to work at the end of these Q&A's.
  70.  
  71. Q  Does FATSAVE work on any type drives?
  72. A  Yes, FATSAVE will work on most all size or types of dos drives from
  73.    floppies to high density hard media. Before FATSAVE attempts to read
  74.    the file allocation tables, it first reads the Drive Parameter Block
  75.    (DPB) saved by Bios in memory at bootup. From the DPB it determines
  76.    the beginning sector location as well as the total number of FAT
  77.    sectors on the disk to be FATSAVED. In this way, FATSAVE knows
  78.    exactly what type of disk it has been asked to examine. This is
  79.    followed by a passive read of the FAT and then a write all of the FAT
  80.    data collected to a standard dos file.
  81.  
  82. Q  Why use FATSAVE?
  83. A  The majority of times, when a drive fails to read or locate the
  84.    content of files properly, and the problem is not the hardware
  85.    itself, it is usually due to corrupted FAT data. Remember however, if
  86.    the magnetic media has completely failed, (as in a hardware problem)
  87.    FATSAVE wont help. But, if the FAT code is corrupted or over written
  88.    by a virus, FATSAVE along with FATBACK can save you from a mental
  89.    breakdown or worse. FATSAVE can be automatically run from your
  90.    autoexec file at boot up, with the FAT data saved to either an
  91.    alternate fixed disk or a floppy.
  92.  
  93. Q  Is FATSAVE safe to use?
  94. A  Absolutely! FATSAVE does a passive read of the file allocation table
  95.    on the drive you are backing up. In this mode, it is impossible for
  96.    FATSAVE to change anything in your original FAT area.
  97.  
  98.  
  99. Q  After reading the FAT data what does FATSAVE do next?
  100. A  FATSAVE copies the FAT to a safe buffer area of memory. Then is does
  101.    an active write to the destination disk where the FAT code is saved.
  102.  
  103.    NOTES:
  104.    There are generally two copies of your FAT saved by dos on your disk.
  105.    DOS reads only the first one for finding your file data. But,
  106.    whenever changes are made to your data structure, dos writes the
  107.    changes to the second copy as well. Because of this, FAT SWAP
  108.    utilities seldom work. This is because the second copy is generally
  109.    corrupted at the same time as the first copy. The only hope is to
  110.    have a RECENT virgin copy of the first FAT preserved at all times.
  111.  
  112.  
  113. Q  How is the data saved or stored on the backup disk?
  114. A  FATSAVE write the data to a standard dos file called FATFILE.OF?,
  115.    where the "?" is dynamically stamped at creation time with the drive
  116.    letter designator of the disk that a copy of the FAT was made FROM.
  117.    Therefore, FATFILE.OF? is a file containing the FAT of your drive C:.
  118.  
  119. Q  Can I use any size or type of floppy to save my FAT?
  120. A  Yes, take any type or size blank floppy and format it in the
  121.    conventional manner with the operating system installed. Copy
  122.    FATSAVE.COM to the formatted floppy disk. If you wish to copy the FAT
  123.    of C: drive to a file on A: drive type FATSAVE C: A: at the dos
  124.    command prompt. FATSAVE will create a file called FATFILE.OF? with
  125.    the FAT data in it, located on the A: drive floppy disk.
  126.  
  127.    That's all there is too it! REMEMBER: Save this floppy disk in a safe
  128.    place. It could possibly save you later from a nervous breakdown!
  129.  
  130.  
  131.  
  132.            R E S T O R A T I O N     U S I N G     F A T B A C K
  133.  
  134.    **********************************************************************
  135.  
  136. Q  What is FATBACK?
  137. A  FATBACK is a very powerful utility, written in assembler, whose
  138.    purpose is to restore a copy of your hard drive's critical FAT or File
  139.    Allocation Tables. FATBACK reads the FAT sector data from the backup
  140.    file, FATFILE.OF?, (originally saved by FATSAVE on a backup disk) and
  141.    uses that FAT data to restores the original drives file allocation
  142.    tables.
  143.  
  144. Q  What is more preferable, using FATBACK or doing a FULL system data
  145.    backup?
  146. A  Unquestionable, nothing give more piece of mind than a current backup
  147.    of all of your data. This is what you definitely SHOULD do! However,
  148.    the practicality of life frequently interfere's with thing we know we
  149.    should do. Suppose you have a 200+ meg hard drive. If you are
  150.    fortunate enough to have a backup system that will scan for files
  151.    changed after a particular date, at the end of every day, and then
  152.    save them, you are most fortunate. If you do not have a data backup
  153.    system, and you seldom do manual backups of your dynamic data, you
  154.    are basically a sitting duck waiting and testing fate. If data was
  155.    lost through corruption of the file allocation tables, FATBACK can
  156.    guarantee 100% restoration of your data, plus it is very FAST and
  157.    very EASY to use. FATBACK will use less than 30 seconds in most cases
  158.    to restore your FAT tables! See suggestion on how to use FATBACK at
  159.    the end of these Q&A's.
  160.  
  161. Q  Does FATBACK work on any type drives?
  162. A  Yes, FATBACK will work on most all size or types of dos drives from
  163.    floppies to hard media. There are no restriction.
  164.  
  165.  
  166. Q  When should I use FATBACK?
  167. A  The majority of times, when a drive fails to read properly, and the
  168.    problem is not the hardware itself, it is usually due to a corrupted
  169.    FAT sector. Remember, if the magnetic media has completely failed, (a
  170.    hardware problem) FATBACK wont help. But, in some instances, where
  171.    the magnetic media is weakened by time and has not been refreshed
  172.    (rewritten) recently, FATBACK could possibly still help. The big
  173.    problems occur if the FAT data is unintentionally corrupted by
  174.    experimentation or over written by a virus. Here FATBACK can save you
  175.    from a mental breakdown or worse.
  176.  
  177.  
  178. Q  Is FATBACK safe to use?
  179. A  Yes, but FATBACK does WRITE to a critical area of your disk. So, like
  180.    any powerful tool, FATBACK require that you observe lots of CAUTION!
  181.    Example: Always make sure the FAT backup file you are about to use
  182.    for the restore is the SAME one originally saved by FATSAVE for THAT
  183.    drive!  You can still recover from even this kind of mistake as long
  184.    as you have the original, current FAT backup file. FATBACK is NOT a
  185.    toy, so don't treat it as such. It is a very powerful tool. In most
  186.    cases, if you need to use FATBACK, you already have major disk
  187.    trouble and only stand to gain if it restores your drive.
  188.  
  189.  
  190. Q  How is the data read from the backup disk?
  191. A  FATBACK reads the data from a standard dos file labeled FATFILE.OF?
  192.    that was originally saved by the companion utility, FATSAVE.COM.
  193.  
  194.  
  195. Q  Ok, I have a recent backup copy saved of my FAT and a virus scrambled
  196.    my disk. How do I use FATBACK to restore the original FAT.
  197. A  First, do not attempt to restore your FAT unless you have no other
  198.    options. The reverse process WILL write to your FAT sector and you
  199.    should only do a FATBACK if one or more of the following conditions
  200.    exist:
  201.  
  202.    1) The data on your disk media appears to be completely scrambled
  203.       and it is determined that the problem is NOT a hardware problem.
  204.  
  205.    2) You suspect that you may have had a virus that scrambled your
  206.       file allocation tables.
  207.  
  208.    3) You absolutely know you corrupted your own FAT by experimenting
  209.       with your system. (not too uncommon today)
  210.  
  211.  
  212. Q  Alright, you sold me. But, if I need to recover my FAT, exactly how
  213.    is that done?
  214. A  It is as easy to recover with FATBACK as it was to copy or back up
  215.    your FAT sectors with FATSAVE in the first place. Assuming you have
  216.    re booted your system with a known good and un infected floppy in
  217.    drive a: (with a copy of FATBACK and the original FATFILE.OFC on it),
  218.    type the following at the a: prompt
  219.  
  220.    FATBACK A: C:
  221.  
  222.    That's all there is too it. If the original FAT was not damaged prior
  223.    to backup and the backup copy was very recent, your HD should be able
  224.    to locate its data once again. Depending on just how recent your
  225.    backup FAT copy is will determine whether or not you will recover
  226.    100% of your data or lose a few files. Even then, cleaver use of an
  227.    absolute disk editor like the shareware ZipZap job will allow you to
  228.    scan for, locate and re save lost chains of your data.
  229.  
  230.    Remember, FATBACK is NOT a toy. Although FATBACK is engineered to be
  231.    as safe as possible to use, FATBACK is a lifeboat, and nothing more.
  232.    You only use FATBACK when you have no other options. The FATBACK
  233.    utility is provided free with registration of FATSAVE.
  234.  
  235.    SUGGESTIONS for using FATSAVE:
  236.  
  237.    Add a few lines to the end of your autoexec.bat that will optionally
  238.    run FATSAVE first thing after bootup and save a FAT copy to your
  239.    alternate hard drive or a floppy.
  240.  
  241.    ECHO Put a Disk in Drive A for FAT Backup NOW,
  242.    ECHO or, hit Ctrl C to abort this operation, or
  243.    PAUSE
  244.    FATSAVE C: D:
  245.  
  246.    By hitting Ctrl C you can abort the remainder of the batch operation
  247.    if you desire. If this operation is done at least every time you
  248.    boot up your computer, the likely hood of loosing very much data
  249.    in the event of some misfortune is greatly reduced.
  250.  
  251.    ====================================================================
  252.    V2.0  10/15/93 First public release
  253.    ====================================================================
  254.  
  255.                            ┌─────────┐
  256.                            │ MEMBER  │   Society of
  257.                            │  ┌──────┴──┐ Independent
  258.                            │  │         │   Shareware
  259.                            └──┤    ■    │     Authors
  260.                               │    ║    │
  261.                               └────╨────┘
  262.     This program is produced by a member of the Society of Independent
  263.     Shareware Authors (SISA). The Society wants to ensure that all valid
  264.     shareware principle actually work for you and SISA members. The
  265.     principle behind shareware distribution is simple; try before you
  266.     buy. Society members agree to license all shareware for a minimum of
  267.     10 days, free of charge, to first time users as an evaluation
  268.     period. After 10 days, buyers are then obligated to license their
  269.     copy with the Society member. Society members are obligated to
  270.     provide high quality, useful shareware, but, are free to choose
  271.     whatever marketing methods suit their specific needs. SISA
  272.     sanctioned marketing methods include: demonstration versions;
  273.     providing printed documentation after purchase; registration keys
  274.     that unlock additional features not necessary to determine basic
  275.     usefulness; and, providing bug fixes free of charge. Any Shareware
  276.     author may become a member of SISA without cost by simply agreeing
  277.     to the above conditions and displaying, at their option, this logo
  278.     in their documentation.
  279.     ====================================================================
  280.  
  281.     WARRANTY:
  282.     Software:
  283.     Gary Raymond warrants that the software contained herein will
  284.     perform in substantial compliance with the documentation
  285.     accompanying the software. If you report, in writing, a significant
  286.     defect to us, and we are unable to correct it within 90 days of the
  287.     date you report the defect, you may return the software and
  288.     accompanying materials, and we will refund the purchase price.
  289.  
  290.     Diskette's and Documentation:
  291.     Gary Raymond, warrants all diskette's and documentation to be free
  292.     of defects in materials for a period of 30 days from the date of
  293.     purchase. In the event of notification within the warranty period of
  294.     defects in any materials, Gary Raymond will replace the defective
  295.     diskette or documentation.
  296.  
  297.     Remedies:
  298.     The remedy for breach of the warranty shall be limited to
  299.     replacement and shall not encompass any other damages, including but
  300.     not limited to loss of profit, special, incidental, consequential,
  301.     or similar damages, losses, or claims.
  302.  
  303.     DISCLAIMER:
  304.     Gary Raymond specifically disclaims all other warranties, expressed
  305.     or implied, including but not limited to, implied warranties of
  306.     merchantability and fitness for a particular purpose with respect to
  307.     defects in the diskette and documentation, and the program license
  308.     granted herein, in particular, and without limiting operation of the
  309.     program license with respect to any particular application, use, or
  310.     purpose.  In no event shall Gary Raymond be liable for any loss of
  311.     profit or any other commercial damage, including but not limited to
  312.     special, incidental, consequential or other damages.
  313.  
  314.     GOVERNING LAW:
  315.     This statement shall be construed, interpreted, and governed by the
  316.     laws of the State of Louisiana.
  317.     ====================================================================
  318.  
  319.    Registering your copy will help continue the competitive advantages
  320.    of providing economical shareware. Upon receipt of your payment I
  321.    will provide you with a copy of the latest version and notify you of
  322.    all future upgrades. Your patronage is appreciated.
  323.  
  324.    My no nonsense license:
  325.    ------------------------
  326.    Your one time registration fee will license you to use FATSAVE on any
  327.    number of personal computers owned directly and personally by you.
  328.  
  329.    Re distribution via electronic transmission, or down loading, is
  330.    allowed without further permission. Re distribution of the Shareware
  331.    version of FATSAVE, for a fee, is also allowed without further
  332.    permission as long as that cost is limited to no more than two
  333.    dollars per copy, if supplied on any physical disk media.
  334.  
  335.    The assembler source code for BOOTSAVE.COM, BOOTBACK.COM, FATSAVE.COM
  336.    and FATBACK.COM is available for sale at $50 per copy. The source is
  337.    based on Eric Isaacson's A86 assembler compiler.
  338.  
  339.  
  340.    Yes Gary, I can really make use of your program and would like to
  341.    register and obtain the latest version as well as get on your mailing
  342.    list for future upgrades and new releases!
  343.  
  344.    Product: FATSAVE V2.0  $10.00 including shipping (usa only)
  345.    Product: FATBACK V2.0  N/C with registration
  346.  
  347.  
  348.    SPECIAL OFFER: Register both BOOTSAVE and FATSAVE and get a Twenty
  349.                   Five Percent discount [$20 -$5] = only $15.00 for
  350.                   BOTH and still get BOOTBACK and FATBACK FREE!
  351.  
  352.  
  353.    Name_____________________________________________________________
  354.  
  355.    Mailing Address__________________________________________________
  356.  
  357.    City & State ___________________________________________________
  358.  
  359.    ZIP _____________________________ Phone _________________________
  360.  
  361.    Send registration check or money order to:
  362.  
  363.                               Gary M. Raymond
  364.                                 P.O.Box 8184
  365.                             New Orleans, La. 70182
  366.                                 504-288-6550
  367.                             Compuserve 70613,3165
  368.    ====================================================================
  369.  
  370.     TECH DATA:
  371.     These utilities use DOS Function 25 and 26 of Interrupt 21 in the
  372.     "extended" mode in conjunction with Function 1F of 21 to get exact
  373.     details of the drive via the dos DPB or Drive Parameter Block. This
  374.     data is in turn passed to the extended parameter status block created
  375.     for Function 26 and 26. To further insure data transfer integrity,
  376.     data is only moved one full sector at a time (512 bytes worth). In
  377.     addition, Function 2E of Int 21 is used to toggle the dos Verify
  378.     flag at the option, via command switch, of the user. These utilities
  379.     were beta tested on over fifty different make and model dos drives
  380.     with complete reliability. No testing was performed on networks or
  381.     operating systems other than dos 3.0, 3.1, 3.2, 3.3, 4.0, 5.0 and
  382.     6.0. PC DOS, MS DOS and DR DOS were all tested satisfactorily.
  383.  
  384.     ACKNOWLEDGEMENTS:
  385.     -----------------
  386.     To my best friend and machine code instructor, the Padre, alias,
  387.     Machine Man, whose many patient hours of coaching and prodding over
  388.     the years helped me learn assembler so that I could create this and
  389.     many other useful dos utility.
  390.  
  391.                                      EOF
  392.