home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / misc / 25301 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  4.7 KB

  1. Path: sparky!uunet!gatech!psuvax1!psuvm!wvnvm!bryan
  2. Date: Thursday, 23 Jul 1992 10:22:13 EDT
  3. From: Jerry Bryan <BRYAN@wvnvm.wvnet.edu>
  4. Message-ID: <92205.102213BRYAN@wvnvm.wvnet.edu>
  5. Newsgroups: comp.os.os2.misc
  6. Subject:    BACKUP and RESTORE of the Desktop
  7. Lines: 91
  8.  
  9. I do not consider the following test fully definitive, but it at least
  10. strongly suggests that you *can* use BACKUP and RESTORE to backup your
  11. desktop.  Here is what I did.
  12.  
  13.     1. Shutdown my system
  14.     2. Bring up the standalone OS/2.  (Boot install disks to the point
  15.        where you can ESCAPE out and get the command line prompt).
  16.     3. Put blank formatted disk in A:
  17.     4. Issued the following:
  18.  
  19.         C:                 (run from the C: disk.  I am not sure where
  20.                             BACKUP and RESTORE are on the install disks.)
  21.  
  22.         CD \               (make sure I am at the root)
  23.  
  24.         BACKUP C:\  A:     (backup root files such as CONFIG.SYS.  Not
  25.                             necessary for the test, but it is in line
  26.                             with my long term plans for backing up
  27.                             critical files.  One diskette will hold
  28.                             everything I want, so why not go ahead and
  29.                             get the root?)
  30.  
  31.         BACKUP C:\*.INI A:  /S/A  (backup all INI files.  Note that they
  32.                                    are all closed at this point, so they
  33.                                    can be backed up.  I want INI files
  34.                                    and the desktop directory backed up
  35.                                    at the same time.  The /A adds these
  36.                                    backups to the same diskette as the
  37.                                    first backup.  The /S makes sure I
  38.                                    get them all.)
  39.  
  40.         CD "OS!2 2.0 Desktop"   (Point to the desktop in preparation for
  41.                                  backing it up.  Note that the BACKUP
  42.                                  command itself seems not to accept
  43.                                  the desktop name. That is,
  44.                                  BACKUP C:\"OS!2 2.0 Desktop" A: fails.
  45.  
  46.         BACKUP C:*.* A:  /A      This was an experiment to see if the EA
  47.                                  of the empty directory would be backed up.
  48.                                  It was not backed up.  Nothing happened.
  49.  
  50.         BACKUP C:*.* A:  /S/A    Cause the whole desktop to be backed up.
  51.                                  I am still not 100% convinced that
  52.                                  everything was backed up, but as we shall
  53.                                  see, my *limited* experiment was a success.
  54.  
  55.         Remove the backup diskette and reboot my regular OS/2 system.
  56.  
  57.         Find a folder that is on the main desktop, open it, find a program
  58.         object in the folder, make a shadow copy on the main desktop, and
  59.         shutdown.
  60.  
  61.         Reboot the standalone OS/2 system and insert the backup diskette.
  62.  
  63.         Issue C: and CD \.
  64.  
  65.         RESTORE A: C: /M/S       (should cause any modified files to
  66.                                   be restored.  The only thing restored
  67.                                   is \WP ROOT. SF.)
  68.  
  69.         Remove the backup diskette and reboot my regular OS/2 system.
  70.  
  71.         The shadow I just added to the desktop is still there.  Shutdown
  72.         in abject failure.
  73.  
  74.         Reboot the standalone OS/2 system and insert the backup diskette.
  75.  
  76.         RESTORE A: C: /S         (should cause all backed up files to
  77.                                   be restored.  They seemed to be all
  78.                                   restored.  I would be *much* happier
  79.                                   using the /M switch, but with /M there
  80.                                   was not enough stuff restored.)
  81.  
  82.         Remove the backup diskette and reboot my regular OS/2 system.
  83.  
  84.         The shadow I just added to the desktop is gone!  Success!!
  85.  
  86. As I said, I do not consider this test as definitive.  For example, if I
  87. were really brave, I would format my C: disk, re-install OS/2, and then
  88. restore from by backup diskette.  It appears that the /M switch to BACKUP
  89. and RESTORE applies only to the data portion of a file, not to the EA.
  90. I have numerous unanswered questions in my mind with respect to file access
  91. dates (date created, last accessed, last modified, etc.) and whether any of
  92. them apply to EA's.  For example, suppose the EA of a file is changed but
  93. not the file itself.  Will an incremental backup backkup the file and its
  94. EA?
  95.  
  96. I am somewhat mollified that I can now backup my desktop using standard
  97. OS/2 facilities rather than Hobbes shareware or PDware.  However, I would
  98. still love to see some definitive statements of direction from IBM about
  99. the issue of desktop backup.
  100.