home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / ibm / pc / misc / 10919 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  16.5 KB

  1. Path: sparky!uunet!centerline!noc.near.net!hri.com!ukma!darwin.sura.net!mips!sdd.hp.com!hpscdc!hplextra!hpcc05!hpbbn!hpuamsa!franks
  2. From: franks@hpuamsa.neth.hp.com (Frank Slootweg CRC)
  3. Newsgroups: comp.sys.ibm.pc.misc
  4. Subject: Re: Re: Need Advice on Hard Disk Backup Systems
  5. Message-ID: <26790015@hpuamsa.neth.hp.com>
  6. Date: 27 Jul 92 13:47:30 GMT
  7. References: <4795@unixhub.SLAC.Stanford.EDU>
  8. Organization: Hewlett-Packard, The Netherlands
  9. Lines: 308
  10.  
  11. esr@unixhub.SLAC.Stanford.EDU (Edwin S. Russell) writes:
  12.  
  13. > As I noted a few months ago in a similar post, I stopped using PCBackup  
  14. > because of its intermittent problems with being able to restore.  Backup  
  15. > works great but several people have reported problems restoring.  The third  
  16. > time I couldn't restore files I scrapped it.  I now use Fastback.
  17.  
  18.   The original poster and other netters may benefit from a repost (if
  19. this, rather lengthy, repost violates some Netiquette, then please
  20. educate me) :
  21.  
  22. From franks Tue Jul  7 08:45:03 1992
  23. From: franks@hpuamsa.neth.hp.com (Frank Slootweg CRC)
  24. Date: Tue, 7 Jul 1992 06:45:03 GMT
  25. Date-Received: Tue, 7 Jul 1992 06:45:03 GMT
  26. Subject: PC Tools 6.0 PCBACKUP Restore tips.
  27. Message-ID: <27210008@hpuamsa.neth.hp.com>
  28. Organization: HP-Sales Office-The Netherlands
  29. Path: hpuamsa!franks
  30. Newsgroups: comp.os.msdos.apps
  31.  
  32. PC Tools 6.0 PCBACKUP Restore problems and solutions/workarounds.
  33. =================================================================
  34.  
  35. Note: I originally wrote this article as an e-mail message to someone.
  36.       In order not to have to rewrite it, I just deleted the recipients'
  37.       name and other personal or irrelevant information.
  38.  
  39. Hello [deleted],
  40.  
  41.   I did some restore experiments with PCBACKUP from PC Tools 6.0.
  42.  
  43.   Bottom line: I have not been able to completely reproduce your
  44. scenario ("Try restoring with diskette 1 and it claims foul.  Try
  45. restoring with diskette 2 (with the "log") and it complains that it
  46. can't find diskette 1."). I have, I think, been able to reproduce the
  47. first part of this scenario. Details follow later.
  48.  
  49.   HOWEVER I have, intermittently, had files which were TOTALLY CORRUPTED
  50. (wrong size and totally wrong contents) after a restore which gave NO
  51. ERRORS whatsoever. This scenario is at least as bad, or even worse, as
  52. yours.
  53.   I say "intermittently" because sometimes the restore is OK and
  54. sometimes it is not. I have not been able to accurately pinpoint under
  55. which circumstances the restore fails, but I have been able to find a
  56. scenario which "never" fails (worked OK at least 10 times).
  57.  
  58.   Since I wanted to go as far "to the bottom of it" as I could, I
  59. documented my experiments in rather much detail. If there is sufficient
  60. interest in some comp.os.msdos.* or comp.ibm.pc.* group, then I will
  61. post this information or a summary of it.
  62.   If you do not want to read it all, then you might still be interested
  63. in my main conclusions :
  64.  
  65. - Your "Try restoring with diskette 1 and it claims foul." scenario was
  66.   perhaps caused by a combination of operator error and the illogical
  67.   and (probably) inconsequent user interface of PCBACKUP.
  68.  
  69. - Under as yet unclear circumstances the content of files restored by
  70.   PCBACKUP can be corrupt without any error or warning.
  71.   The corruption occured several times when the Super PC-Kwik disk cache
  72.   was enabled. It did not occur when the cache was disabled.
  73.   However later tests with cache enabled gave no corruptions, so it is
  74.   unclear if the disk cache, PCBACKUP or something else was causing the
  75.   corruption.
  76.   Another ([deleted]) user also had corrupt restored files. He will try if
  77.   he can reproduce his failure scenario. If so, he will inform me and I
  78.   will inform you.
  79.  
  80. [deleted]
  81.  
  82.   Before I describe the details of my tests : I think I was able to
  83. reproduce the first part of your scenario ("Try restoring with diskette
  84. 1 and it claims foul.").
  85.  
  86. Details of attempts to reproduce the first part of your problem
  87. ===============================================================
  88.  
  89. 1. If, when PCBACKUP wants to read the directory information ("log"),
  90.    you insert the wrong disk, i.e. any disk other than the last one,
  91.    then PCBACKUP gives a dialog box '!ERROR! Backup Directory Not Found.
  92.    Choose "Retry" if wrong disk inserted. Choose "Rebuild" to regenerate
  93.    directory from backup set.'.
  94.    At this moment one should insert the last disk and, with the "Retry"
  95.    button highlighted, press the "Return" key (which "presses" the
  96.    highlighted button).
  97.    Note: In medium or high speed mode, but not in low speed mode, this
  98.    is different than for the "Insert last disk in drive B:" dialog box
  99.    described in point 4 below :
  100.    - For the "Insert ..." dialog box PCBACKUP will automatically
  101.      continue when a disk is inserted (provided the diskette drive has
  102.      volume-change detection hardware, which all somewhat modern drives
  103.      do have). Once the disk is inserted the "Tab" key (to switch
  104.      between the buttons) and the "Return" key (to "press" the
  105.      highlighted button) have no effect.
  106.    - For the "!ERROR! ..." dialog box one *must* press the "Return" key
  107.      in order to "press" the highlighted "Retry" button. If one does not
  108.      press "Return" then the following very strange scenario can occur :
  109.      - After, in my case, 1.45 minutes the access light of the diskette
  110.        drive goes off.
  111.      - Smart user remembers that (s)he should press "Return".
  112.      - After "Return" is pressed the "Insert last disk in drive B:"
  113.        dialog box appears, but, while the correct diskette is in the
  114.        drive the light remains off.
  115.      - Smart user again presses "Return" for the highlighted "OK"
  116.        button, but the access light remains off.
  117.      - Smart user is patient and waits. After, in my case, ~24 seconds
  118.        the access light goes on and after another ~27 seconds the
  119.        "Reading Directory Information Please wait." information box is
  120.        shortly shown and all is well again.
  121.    So to summarize this point(all for medium or high speed mode): For
  122.    the "Insert ..." dialog box one *can not* (as in: has no effect)
  123.    press the "Return" key to press the highlighted "OK" button. For the
  124.    "!ERROR! ..." dialog box one *must* press the "Return" key to press
  125.    the highlighted "Retry" button.
  126.    See also recommendation 7 below for another scenario which may make
  127.    you think that your backup set is bad while it actually is perfectly
  128.    OK.
  129.  
  130. Details of my own problems
  131. ==========================
  132.  
  133. 2. I do not think that my problems had anything to do with the "log"
  134.    files. When requested PCBACKUP makes an ASCII DYYMMDDA.RPT file and a
  135.    binary DYYMMDDA.DIR file on the harddisk (D=drive, YY=year, MM=month,
  136.    DD=day_of_the_month). Only the .DIR file is used during the restore,
  137.    i.e. if it is available then the directory information is read from
  138.    it, else you have to select the "Insert" button of the "cHoose
  139.    directories" sub-menu "to read the directory from an inserted Disk".
  140.  
  141. 3. Just to really emulate a restore to a clean/empty disk, I copied my
  142.    *.SET, *.RPT, *.DIR, PCBACKUP.HST and PCBACKUP.CFG files to a
  143.    diskette and then removed them from my harddisk.
  144.  
  145. 4. One point which is very confusing and which probably creates problems
  146.    for a lot of users is the following (again for medium and high speed
  147.    mode) :
  148.    When selecting the "Insert" button from the "cHoose directories"
  149.    sub-menu to read the directory from the last disk of the backup set,
  150.    one shortly - a few seconds -  gets a information box saying "Reading
  151.    Directory Information Please wait." and then a dialog box "Insert
  152.    last disk in drive B:" with "OK" and "Cancel" buttons. The drive
  153.    access light goes on and the drive is ready to accept the diskette.
  154.    So far, so good.
  155.    Now you insert the last diskette. For my 3.5 inch B drive you just
  156.    hear some clicking, i.e. the latch of the diskette is opened, and
  157.    then nothing *seems* to happen for about 1.5 minutes (I had a set of
  158.    9 diskettes). Even the "Insert last disk in drive B:" dialog box is
  159.    still there and its "OK" button is still highlighted. *IF* you are
  160.    smart enough not to touch anything and just patiently wait, then
  161.    *AFTER* the 1.5 minute period you shortly - a few seconds - get an
  162.    information box saying "Reading Directory Information Please wait."
  163.    (and, even shorter, another information box saying "Reprocessing
  164.    selection list. Please wait.").
  165.    After that, as expected, the directory structure from the backup set
  166.    is shown (two boxes, directories on the left, files on the right).
  167.    This way of operation is very confusing. Because nothing seems to
  168.    happen, users are probably going to press keys, remove and re-insert
  169.    diskettes, etc. Of course the "Insert ..." dialog box should
  170.    disappear as soon as the diskette is inserted and the "Reading ..."
  171.    information box should be shown during the 1.5 minute wait.
  172.    Note: If the last diskette is put in the drive *before* PCBACKUP says
  173.    "Insert last disk in drive B:", then PCBACKUP directly reads the
  174.    directory information, i.e. no 1.5 minute wait.
  175.  
  176. 5. I think my problem (PCBACKUP gives no error messages, but restored
  177.    file is totally corrupt) is caused by PCBACKUP reading the file
  178.    content from the wrong diskette.
  179.    I restored only one directory with two files. One of the files was
  180.    also on the harddisk and I did not let PCBACKUP overwrite this file.
  181.    The directory ("log") was on the 9th diskette and the files to be
  182.    restored were on the 1st diskette.
  183.    I did the following tests, most of them multiple times :
  184.    - Insert last diskette when PCBACKUP instructs you to do so, select
  185.      directory to restore, *leave* last diskette in drive, select "Start
  186.      restore" and insert diskette 1 when PCBACKUP instructs you to do
  187.      so.
  188.      Result: Restored file sometimes OK, sometimes corrupt.
  189.    - Insert last diskette when PCBACKUP instructs you to do so, select
  190.      directory to restore, *remove* last diskette from drive, select
  191.      "Start restore" and insert diskette 1 when PCBACKUP instructs you
  192.      to do so.
  193.      Result: Restored file *always* OK.
  194.    - Disabled cache. I use DR DOS 6.0 and its bundled Super PC-Kwik
  195.      cache. Super PC-Kwik can also cach diskette reads and I have
  196.      enabled this feature. For people "in the know" : I also use the /V+
  197.      switch ("Use volume change hardware.) and the volume change
  198.      hardware tests as described in the DR DOS 6.0 manual work correctly
  199.      on my system. Rest as first scenario :
  200.      Insert last diskette when PCBACKUP instructs you to do so, select
  201.      directory to restore, *leave* last diskette in drive, select "Start
  202.      restore" and insert diskette 1 when PCBACKUP instructs you to do
  203.      so.
  204.      Result: Restored file *always* (10 times in a row) OK.
  205.    - Happened only once:
  206.      Disabled cache.
  207.      Insert last diskette when PCBACKUP instructs you to do so, select
  208.      directory to restore, *leave* last diskette in drive, select "Start
  209.      restore". PCBACKUP did *not* ask to insert diskette 1, read from
  210.      the last diskette, said "Restore Completed!", but the restored file
  211.      was (of course) totally corrupt.
  212.    So I think that, unless the right diskette is in the drive when
  213.    PCBACKUP starts reading the file contents, PCBACKUP sometimes reads
  214.    the wrong file contents. How it can read the wrong contents when it
  215.    does ask for the right diskette, the right diskette is inserted and
  216.    PCBACKUP seems (since the drive access light is on before the
  217.    diskette is inserted, and my 3.5 inch drive is very quiet, it is hard
  218.    to tell if the drive is actually reading) to read the right diskette,
  219.    is beyond me. Perhaps it is caused by the cache and is the "Happened
  220.    only once:" problem caused by the drive thinking that a new diskette
  221.    was inserted (i.e. failing volume-change detection hardware in the
  222.    drive).
  223.    Another observation: If the restore from the requested diskette is
  224.    fast - a few seconds for this one 1565 byte file - then the restored
  225.    file is OK. If the restore is slow, some 15 seconds, then the
  226.    restored file is corrupted.
  227.    The bad news :
  228.    After the above experiments I retried the first scenario (which
  229.    earlier sometimes gave a corrupted file). However this time I never
  230.    got a corrupted file, even not after over 20 tries! So I could not
  231.    reproduce the problem scenario again and therefore can not determine
  232.    what caused or may have caused the corruption.
  233.  
  234.   Based on the above and other experience, I have the following
  235. recommendations :
  236.  
  237. 1. Do not use a disk-cache when restoring a PCBACKUP backup. It is
  238.    probably also wise to not use a disk-cache when making the backup,
  239.    but if you specify "Verify Always" (only checks if the backup can be
  240.    *read*, does *not* do a *compare*, see manual) before the backup and
  241.    do a compare ("start Compare") after the backup, then, if the compare
  242.    is successful, your backup should be OK.
  243.  
  244. 2. For medium or high speed mode :
  245.    If you know that you have inserted the *right* diskette after
  246.    PCBACKUP instructed you to do so, and nothing *seems* to happen, i.e.
  247.    the previous dialog box is still shown and the selected button is
  248.    still highlighted, then please be patient, do not press any keys, do
  249.    not use your mouse (if available and installed), do not remove the
  250.    diskette and wait at least a few minutes to see if PCBACKUP actually
  251.    *did* do something and continues (i.e. screen content changes).
  252.    During the wait time the disk access light should be on. If it is off
  253.    then press the "Return" key while the desired button is highlighted.
  254.    If the desired button is not highlighted, then try if you can
  255.    highlight it by pressing the "Tab" key. After each action wait at
  256.    least again a few minutes before giving up. See also 6.
  257.  
  258. 3. Remove the last diskette directly after the directory information has
  259.    been read ("Reading Directory Information Please wait"). Do *not*
  260.    wait untill PCBACKUP instructs you to insert another disk.
  261.  
  262. 4. Remove a diskette directly after PCBACKUP stops reading it. Do *not*
  263.    wait untill PCBACKUP instructs you to insert another disk. I.e.
  264.    similar recommendation as for the last diskette, but now for any
  265.    diskette (including the last).
  266.  
  267. 5. Do not insert a diskette untill PCBACKUP instructs you to do so.
  268.    Exception: Insert the last diskette before PCBACKUP instructs you to
  269.    do so, i.e. for "Insert" button of "cHoose directories" sub-menu or
  270.    for "Start restore" sub-menu when doing a full restore (i.e. "cHoose
  271.    directories" was not used earlier).
  272.  
  273. 6. When PCBACKUP instructs you to insert a disk then do not insert
  274.    another disk than the one which PCBACKUP requests.
  275.    If you have not yet labelled your disks with the right numbers, or
  276.    have incorrectly labelled them, then do a DIR for each of the disks.
  277.    The DIR output will show PCBACKUP.001 for disk 1, PCBACKUP.002 for
  278.    disk 2 and so on.
  279.    The PCBDIR program will give similar, and more, information.
  280.    If you, by accident, insert a wrong disk then remember the
  281.    following :
  282.    - For the "Insert ..." dialog box PCBACKUP will automatically
  283.      continue when a disk is inserted (provided that PCBACKUP is
  284.      configured for medium or high speed mode and the diskette drive has
  285.      volume-change detection hardware, which all somewhat modern drives
  286.      do have).
  287.    - For the "!ERROR! ..." dialog box you *must* press the "Return" key
  288.      in order to "press" the highlighted button (in most cases the
  289.      "Retry" button).
  290.    - If you get "hung" for more than a few minutes while the "Insert
  291.      ..." or "!ERROR! ..." dialog box is displayed, then it is probably
  292.      best to start over (i.e. try to stop PCBACKUP and if that fails
  293.      reboot with Ctrl-Alt-Delete). Do *not* conclude that your backup is
  294.      bad if you get "hung" while the "!ERROR! ..." dialog box is
  295.      displayed. Most likely your backup and the PCBACKUP program are OK
  296.      and just your multiple errors caused a (real or apparent) hang
  297.      condition.
  298.  
  299. 7. A backup set made in low speed mode must be restored in low speed
  300.    mode. A backup set made in medium or high speed mode can be restored
  301.    in medium or high speed mode. If you have configured the wrong speed,
  302.    then PCBACKUP will give the "!ERROR! ..." dialog box, even if your
  303.    backup set is OK and you have inserted the correct (last) diskette.
  304.    The /X option of PCBDIR will tell with which speed a particular
  305.    backup set was made. It will say "high" for both a medium and high
  306.    speed backup set.
  307.  
  308.   The purpose of recommendations 3, 4 and 5 is to make sure that the
  309. right diskette is inserted at the moment when PCBACKUP needs it and a
  310. diskette is removed as soon as PCBACKUP is finished with it. This
  311. hopefully prevents PCBACKUP from (trying to) read(ing) the wrong
  312. diskette.
  313.  
  314.   I hope (at least some of) this is of use to you.
  315.  
  316.   Best regards,
  317.  
  318. Frank Slootweg, UNIX support person and PC owner.
  319.