home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / znode3 / uploads / z3help37.lbr / BU.HZP / BU.HLP
Encoding:
Text File  |  1993-06-07  |  11.9 KB  |  224 lines

  1. ;
  2.                                     BU.COM                                    
  3.  
  4.              Size (recs) CRC   Version    Author/Latest Issue      Disk
  5.                7k (52)   920E  1.7        Carson Wilson 4/90       Z3COM2
  6.  
  7.   1- Usage  2- Configuration  3- Notes                                        
  8.  
  9.  
  10.    BU.COM is a simple, but effective hard disk backup utility.  It will backup
  11. most hard disk systems without any need for a  modification of the .ASM source
  12. code (although it has been provided if you need to change).   Requires  a  Z80
  13. and any CP/M revision since CP/M 2.2.  DateStamper/ZSDOS support.
  14.  
  15.    Original by Kim Levitt (12/08/84), based on NEWBACK by G. Young.
  16. :1
  17.  Usage - 1/4 
  18.  
  19.    When you run BU,  it  will  ask  you first which drives you wish to backup.
  20. Specify these altogether with no spaces, commas or other separating characters
  21. as in: "ABC".   It will then ask for the floppy drive to  backup to.   Specify
  22. just the drive letter with no colon on the end as in:  "D".   After displaying
  23. this information, you will be asked to verify it before continuing.
  24.  
  25.    Next you will be asked if you wish all user areas backed up.  Answer 'Y' if
  26. you wish user areas 0-31 automatically scanned.   If you specify 'N', you will
  27. only scan the user area you are currently in.
  28.  
  29.    The  following  question  concerns  whether or not you  wish files with the
  30. archive attribute (T3) set (the archive file attribute bit not supported under
  31. CP/M 2.2) to be skipped during backup.   This  feature can be used so that you
  32. will only backup new files (ones that haven't had the T3 bit set by BU or some
  33. other utility or by a replacement  BDOS such as  ZRDOS or  P2DOS which support
  34. the archive attribute).  The next prompt asks whether you want the archive bit
  35. set after backup  (normally yes,  but you may not want to set the bit for some
  36. reason.)
  37.  Usage - 2/4 
  38.  
  39.    Next,  BU will ask if you wish to  supress  printer  output.  If you answer
  40. 'N', you must have a printer on line or things will freeze up.
  41.  
  42.    Finally,  unless DateStamper is  running,  you are prompted for the current
  43. date which you must enter in using the "MM/DD/YY" format.   If your system has
  44. a realtime clock, you may be able to  write a  routine to get the date  and/or
  45. time for display on the  reports  without  prompting  you,  but  this requires
  46. modification of the source code,  of course.   Adding  DateStamper is  easier,
  47. and will do this and more.   However,  the  CLOCK  equate  and  code  has been
  48. retained in source if you INSIST on this nonsense...
  49.  
  50.    After these preliminary  questions,  the hard disk directories are scanned,
  51. duplicates are eliminated from the list,  a report listing sorted by disk/user
  52. is printed out and then the user is  asked  whether or not to begin the backup
  53. process.   Answer  'Y'  to continue and then you will be prompted to enter the
  54. first floppy volume for backup and enter a 3 character volume ID.   The backup
  55. process begins and you will be prompted to change diskettes whenever the disks
  56. fill up and/or the hard disk being backed up changes  (to facilitate restoring
  57. files it is  recommended  that  different  drives  be  backed  up  on separate
  58. floppies).
  59.  Usage - 3/4 
  60.  
  61.    As each file is backed up,  its filename is  printed on the printer (you DO
  62. NOT have to have a  printer  on-line  to  use this program  -  just be sure to
  63. answer 'Y' to the supress printer output question) as part of a report listing
  64. files backed up by diskette.
  65.  
  66.    At each prompt for a new diskette,  you can enter "END" to abort the backup
  67. process.  Provided you are skipping files with the archive bit set and setting
  68. the archive attribute after backup,  you should be able to resume backup later
  69. and skip all the files you previously backed up.   Before beginning a complete
  70. disk backup session, you can either just specify that archive files are NOT to
  71. be skipped or you can clear the archive  bit on all the files you will want to
  72. backup before running BU  (use  NSWP for this purpose).   Note that if you are
  73. not skipping archive files,  you  will  not be  able  to  resume  backup after
  74. aborting, so a  "noskip"  backup has to be done  all at once.   (I do a weekly
  75. "noskip" backup to get EVERYTHING and  a daily or so "skip" backup to get only
  76. the new stuff..)
  77.  Usage - 4/4 
  78.  
  79.    After all files selected for backup have been copied to disk, BU will auto-
  80. matically terminate.
  81.  
  82.    NOTE: BU will skip files which are too  large to be backed up onto a single
  83. floppy.  Unlike some other  backup  programs,  this is strictly file-oriented,
  84. which leaves you large-file people  without  backup via  this program, but the
  85. advantage is that it is easy to restore files without doing a complete restore
  86. of EVERYTHING like some other PD hard disk backup programs do.  There are file
  87. splitting utilities that could be used to get around this limitation.
  88. :2
  89.  Configuration - 1/2 
  90.  
  91.    Unless you have installed  BU  for  ZCPR3  and  have  a TERMCAPS definition
  92. loaded, location 10BH in the .COM file contains a ten byte  area that contains
  93. your terminal's clear screen control code or  escape  sequence,  if your clear
  94. screen/home cursor is  something  other than a Ctrl-Z (1AH) then you will have
  95. to patch this.   Location 11EH has the  number of  filenames which you wish to
  96. have excluded from backup.   BU is  currently  configured  to skip 9 different
  97. filenames which are stored in memory starting at location 11FH:
  98.  
  99.           !!!TIME&.DAT   - DateStamper stamp file
  100.           !!BG    .SWP   - BackGrounder swap file
  101.           ????????.PRN   - Listing files
  102.           ????????.HEX   - Intermediate hex files
  103.           ????????.SYM   - Symbol files
  104.           ????????.BAK   - Backup files
  105.           ????????.$?$   - Scratch files
  106.           ????????.TMP   - Temporary files
  107.           [??????].???   - Bad block files
  108.  Configuration - 2/2 
  109.  
  110.    6 blanks are provided for extension of the  excluded  filenames.  These may
  111. be entered with a debugger.   Be sure to  change the  count at 11EH if you add
  112. any filenames!
  113. :3
  114.  BU Notes - 1/6 
  115.  
  116.    a. Version 1.7 updates:
  117.       - Minor bug fix.
  118.  
  119.    b. Version 1.6 updates:
  120.       - Added CP/M Plus capability:
  121.       - Gets CP/M Plus free space.
  122.       - User 15 is maximum under CP/M Plus.
  123.       - Gets true disk space remaining under ANY version of CP/M.
  124.       - Detects lack of DateStamper clock (was assuming clock present).
  125.       - Multi-sector i/o
  126.       - Advanced error handling
  127.       - Fixed disk erase routine (CP/M+ aborts on wildcard SFA).
  128.       - Now sets destination file attributes only if there were attributes
  129.         other than Archive in the source file for greater throughput.
  130.       - Several prompts now have default values - hit RETURN for the displayed
  131.         default.
  132.       - Now uses DSLIB to read CP/M Plus/DateStamper/ZSDOS clock.
  133.       - Various minor bugs fixed and performance improved; now uses Z80 
  134.         opcodes.
  135.  BU Notes - 2/6 
  136.  
  137.       - Now prints  "read"  and  "write"  messages  only ONCE for each buffer-
  138.         full, rather than for each record read.
  139.       - Now resets ANY output drive,  including  ones  with "fixed" disks that
  140.         are actually removable, such as the Konica 10-meg. floppy.
  141.  
  142.    d. Version 1.3-1.5 updates:
  143.       - The major changes are support  for  ZCPR3  (BU15 installs  as  a ZCPR3
  144.         utility using Z3INS) and Plu*Perfect's DateStamper.   BU15  still runs
  145.         correctly on non ZCPR3 systems and systems without DateStamper, and is
  146.         still  coded  in  8080  assembly  language.   Jay  Sage's  DateStamper
  147.         routines from  PPIP15  were used as the basis for the DateStamper code
  148.         (why re-invent the wheel?).
  149.  
  150.       - If BU15 is running under ZCPR3, the wheel byte is checked and BU exits
  151.         immediately if the user is not  wheel  (user is  informed  why  he was
  152.         kicked out).   If there is a valid clear screen string in TERMCAPS, it
  153.         will be used, otherwise the string at 10BH is used.
  154.  BU Notes - 3/6 
  155.  
  156.       - If DateStamper is found, the user is not prompted for backup date.  If
  157.         a !!!TIME&DAT file is found on the backup  disk,  each file's original
  158.         datestamps will be retained on the backup.  If DateStamper is running,
  159.         a (Date OK) message will be  printed  after  each file is copied.  The
  160.         floppy erase routine was  changed  so  that  !!!TIME&DAT  will  not be
  161.         erased.   This has the  unfortunate  side  effect  of slowing down the
  162.         erase, so dots are now  printed  while the erase routine is running in
  163.         user 0 just to re-assure the operator that the program has not crashed
  164.         and burned.   The slower erase is limited to  user 0,  while all other
  165.         user areas continue to use the faster  wildcard  attribute  clear  and
  166.         erase.   If BU15 is assembled without DateStamper support,  the faster
  167.         erase method is used in all user areas.
  168.  
  169.       - In line with these  additions,  the  skip  file  section  has changed.
  170.         Instead of just checking an extent,  an  entire filename (which can be
  171.         ambiguous) is  specified.   This  allows  for  better  selectivity  in
  172.         skipped files.
  173.  BU Notes - 4/6 
  174.  
  175.       - The hard coding for maximum user was removed and made an equate in the
  176.         source code.   The .COM file has  MAXUSR  set to 31.   Note  that when
  177.         running under ZCPR3,  BU15 does not  respect  what ZCPR calls MAXUSER.
  178.         Due to the nature of this utility,  it seemed foolish to me to respect
  179.         this value.
  180.  
  181.       - The archive bit was changed  from the F4 bit to T3  for  compatibility
  182.         with ZRDOS, P2DOS, and other  programs that  use the CP/M plus archive
  183.         bit.
  184.  
  185.       - A question was added to the startup  dialogue to  allow printer output
  186.         to be suppressed.
  187.  
  188.       - The .COM  file has the  printer initialization enabled,  but all bytes
  189.         are set to 0.  The sequence for your printer can be patched in using a
  190.         debugger.   The  printer  initialization  string is  8  bytes long and
  191.         starts at 114H.   RBYANC is set false, and 80 col, 66 lines/page print
  192.         format is selected.
  193.  
  194.       - Updated text in the body of the document to reflect BU15 as it stands.
  195.  BU Notes - 5/6 
  196.  
  197.    e. Version 1.2-1.2a updates (Greg Teater):
  198.       - Installed top-of-forms for  printer  where needed.   Added  left print
  199.         margin to allow copy to  be  put in notebook (very handy).   If RBYANC
  200.         support chosen, then second filename added to output disk, 
  201.         '--BACKUP.nnn' where 'nnn' is the volume ID asked during BACKUP.  This
  202.         will avoid  using  the  first  file  name  added  '+YYMMDDy.nnn' where
  203.         YY=year, MM=month, DD=day,  YY=output drive letter, and nnn=volume ID. 
  204.         RBYANC does not include a  volume  delete feature.   If  you  use  the 
  205.         volume date file  as  volume label,  the  MAST.CAT  will  fill up very 
  206.         quickly.  The second volume label is always the same, therefore no new
  207.         volumes are built each time the BACKUP floppies are added to catalog.
  208.  
  209.       - BU12A.COM:  Normal  Printing  (66 lines/page,  80 columns).  No escape
  210.         sequences sent to printer.  Most generic version.
  211.  
  212.       - The printer set routine can  be  easily  modified  for other printers.
  213.         The sequences  are  close  to  the  top of BU.ASM.  Be sure to set the
  214.         'PRNTSET' flag to 'YES' and enter the code at 'SETPRINTER' label.
  215.  BU Notes - 6/6 
  216.  
  217.    f. Version 1.1 updates (B. G. Eiben):   
  218.       - Changed BU to keep file-attributes when moving files to floppy - makes
  219.         it easier to use NSWEEP to restore. 
  220.       - Changed ERASE algorithm to allow to wipe files with attributes.  
  221.       - Changed SPACE-routine and added  "k left" output to screen to know how
  222.         long the specific floppy might last.  
  223.       - Added some more "excluded" file-types and VT100 as "default terminal".
  224.