home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / DIDKBK.FAX < prev    next >
Text File  |  1994-12-08  |  4KB  |  124 lines

  1. OS2 BACKUP and RESTORE                   8/12/94
  2.  
  3. File: OSDIDKBK.FAX
  4.  
  5.                 OS2 BACKUP and RESTORE
  6.  
  7.  
  8.  2/1/94
  9.  
  10.   This fax is for customers that would like to backup the OS/2
  11.   system  2.x and above and restore it.  If it is to be restore
  12.   to a different drive letter some additional steps will need to
  13.   be taken.
  14.  
  15.  For Example we will simulate Backing up C: and restoring to D:
  16.  
  17.  Please follow the process step by step as follows:
  18.  
  19.  
  20. A.  BEFORE BACKING UP IF RESTORING TO A DIFFERENT DRIVE LETTER
  21.     (If your not restoring to a different drive letter you may
  22.     skip to section B.)
  23.  
  24.  1. First edit the inisys.rc (found in \OS2 directory) file and
  25.     change the C: references to whatever drive letter you plan
  26.     to restore to in all places that it is referenced in that
  27.     file.  This can be done easily using the epm editor and
  28.     the search and replace function.
  29.     For additional help on epm refer to the online help.
  30.  
  31.  2. Now edit your ini.rc (found in \OS2 directory) file and make
  32.     the drive letter reference change for the IBMNULL DRIVER.
  33.  
  34.  3. Then edit your config.sys on all references to C:
  35.     as documented in STEP 1.  You will also find a backup
  36.     config.sys in the \OS2\INSTALL directory, this will need to
  37.     be modified also.
  38.  
  39.  4. Edit the autoexec.bat file (found in root directory) in the
  40.     same manner.  The startup.cmd file may also need to be
  41.     modified in the same manner (also found in the root
  42.     directory).
  43.  
  44.  5. Then delete your printer icon(s).
  45.  
  46.  
  47. B. BACKING UP THE SYSTEM....
  48.  
  49.  1. Copy the BACKUP.EXE, RESTORE.EXE, CMD.EXE (\OS2 directory),
  50.     COMMAND.COM (\OS2\MDOS), UHPFS.DLL (\OS2\DLL to a floppy
  51.     diskette. The file SYSINSTX.COM can be found on the
  52.     INSTALLATION disk and must be copied to this diskette.
  53.  
  54.  2. Next you will need to go the the root directory of the boot
  55.     drive you intend to backup (ie c:\).  Issue the command:
  56.     "attrib os2* -r -s -h"
  57.  
  58.  3. Now you are ready to backup your system.  Shutdown and
  59.     boot off of your Installation disks/utility diskettes and
  60.     go to the a: prompt (hit the escape key on disk 1 when prompt
  61.     to hit enter to continue) put in diskette #2 and run:
  62.     "chkdsk x: /f:"
  63.  
  64.         Note: x: is the drive you intend to backup.
  65.  
  66.  4. Next enter the disk in the drive with the backup command on
  67.     it.  Issue the backup command as denoted in your
  68.     documentation, and online help (typically
  69.     "backup c:\*.* a: /s "). If you need help on Backup type
  70.     "help backup" at an OS2 commandline. You will need
  71.     formatted disks (having for formatted disks increases the
  72.     chance of having a good backup).
  73.  
  74. C. RESTORING THE SYSTEM
  75.  
  76.  1. After you have backed up your system it is now time to
  77.     restore it. Again boot off the floppy diskettes and go to the
  78.     a: prompt.  Run chkdsk on the drive you intend to restore to
  79.     to make sure there are no filesystem errors. You are then
  80.     ready to restore, insert the disk with the restore command,
  81.     and issue the command. (typically RESTORE A:\*.* D: /S)
  82.  
  83.      NOTE: the /s parameter must be used to restore files
  84.                 to sub-directories.
  85.  
  86.  2. Once the restore is complete you must change to the boot
  87.     drive root directory, and type "x:\attrib OS2* +r +h +s"
  88.     where x: is the boot drive.
  89.  
  90.  3.  Next insert the disk with sysinstx.com on it.  From that
  91.     drive issue the command "sysinstx x:" where x: is the boot
  92.     drive.
  93.  
  94.  4.  Last make sure the drive is either added to the Boot
  95.     Manager,
  96.     or the partition is startable through FDISK.  Note: only the
  97.     C: primary drives and Boot Manager can be startable.
  98.  
  99.  5. Now copy CMD.EXE to the \OS2 directory, and COMMAND.COM to
  100.     the \OS2\MDOS directory.
  101.  
  102. At this point if you restored to the same drive letter you
  103. RESTORATION is complete!  If you restored to a different
  104. drive letter you must do one last step.
  105.  
  106.  1. After you have restored all files from all the diskettes
  107.     then you must do the following:
  108.  
  109.       ERASE OS2.INI
  110.       ERASE OS2SYS.INI
  111.       MAKEINI OS2.INI INI.RC
  112.       MAKEINI OS2SYS.INI INISYS.RC
  113.  
  114.     NOTE: Remember to change to your x:\OS2 directory before
  115.     running the above commands.
  116.  
  117.  When you boot the machine the tutorial should come up first while the
  118.  desktop is creating itself. After you bootup and have a desktop
  119.  you can now go to the templates folder and create new printer
  120.  icons.
  121.  
  122.  
  123. 12/31/99
  124.